From 6deaf0e061be9756dededdd71128f249ef0b698d Mon Sep 17 00:00:00 2001 From: Niols Date: Wed, 12 Apr 2023 08:32:18 +0000 Subject: [PATCH 1/2] maintainers: add niols --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 92173831978d..23208df6cc33 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -11015,6 +11015,12 @@ githubId = 47835714; name = "Nintron"; }; + niols = { + email = "niols@niols.fr"; + github = "niols"; + githubId = 5920602; + name = "Nicolas Jeannerod"; + }; nioncode = { email = "nioncode+github@gmail.com"; github = "nioncode"; From 0dc61806f6bb84977e488cbafa6f57f29fcd75e3 Mon Sep 17 00:00:00 2001 From: Niols Date: Wed, 12 Apr 2023 08:33:09 +0000 Subject: [PATCH 2/2] ocamlPackages.headache: init at 1.06 --- .../ocaml-modules/headache/default.nix | 24 +++++++++++++++++++ pkgs/top-level/ocaml-packages.nix | 2 ++ 2 files changed, 26 insertions(+) create mode 100644 pkgs/development/ocaml-modules/headache/default.nix diff --git a/pkgs/development/ocaml-modules/headache/default.nix b/pkgs/development/ocaml-modules/headache/default.nix new file mode 100644 index 000000000000..cb36d87f87f0 --- /dev/null +++ b/pkgs/development/ocaml-modules/headache/default.nix @@ -0,0 +1,24 @@ +{ lib, buildDunePackage, fetchFromGitHub, camomile }: + +buildDunePackage rec { + pname = "headache"; + version = "1.06"; + + src = fetchFromGitHub { + owner = "frama-c"; + repo = pname; + rev = "v${version}"; + sha256 = "sha256-BA7u09MKYMyspFX8AcAkDVA6UUG5DKAdbIDdt+b3Fc4="; + }; + + duneVersion = "3"; + + propagatedBuildInputs = [ camomile ]; + + meta = with lib; { + homepage = "https://github.com/frama-c/${pname}"; + description = "Lightweight tool for managing headers in source code files"; + license = licenses.lgpl2Plus; + maintainers = with maintainers; [ niols ]; + }; +} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index 4ce6162788d3..590da4ef770d 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -609,6 +609,8 @@ let hashcons = callPackage ../development/ocaml-modules/hashcons { }; + headache = callPackage ../development/ocaml-modules/headache { }; + hex = callPackage ../development/ocaml-modules/hex { }; hidapi = callPackage ../development/ocaml-modules/hidapi { };