From ab3a39038620e66ec58e7d0778042fb136adc473 Mon Sep 17 00:00:00 2001 From: Niols Date: Fri, 7 Jul 2023 17:34:24 +0000 Subject: [PATCH 1/2] headache: 1.06 -> 1.07 --- pkgs/development/tools/headache/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/headache/default.nix b/pkgs/development/tools/headache/default.nix index ca6417705e10..cc5b15ffdbc8 100644 --- a/pkgs/development/tools/headache/default.nix +++ b/pkgs/development/tools/headache/default.nix @@ -4,17 +4,17 @@ with ocamlPackages; buildDunePackage rec { pname = "headache"; - version = "1.06"; + version = "1.07"; src = fetchFromGitHub { owner = "frama-c"; repo = pname; rev = "v${version}"; - sha256 = "sha256-BA7u09MKYMyspFX8AcAkDVA6UUG5DKAdbIDdt+b3Fc4="; + sha256 = "sha256-RL80ggcJSJFu2UTECUNP6KufRhR8ZnG7sQeYzhrw37g="; }; propagatedBuildInputs = [ - (camomile.override { version = "1.0.2"; }) + camomile ]; meta = with lib; { From b992fc146317cca1dda5612ddbc51845fa6e2b16 Mon Sep 17 00:00:00 2001 From: Niols Date: Fri, 7 Jul 2023 17:22:48 +0000 Subject: [PATCH 2/2] headache: add passthru.updateScript --- pkgs/development/tools/headache/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/tools/headache/default.nix b/pkgs/development/tools/headache/default.nix index cc5b15ffdbc8..7ed249290136 100644 --- a/pkgs/development/tools/headache/default.nix +++ b/pkgs/development/tools/headache/default.nix @@ -1,4 +1,4 @@ -{ lib, fetchFromGitHub, ocamlPackages }: +{ lib, fetchFromGitHub, nix-update-script, ocamlPackages }: with ocamlPackages; @@ -17,6 +17,8 @@ buildDunePackage rec { camomile ]; + passthru.updateScript = nix-update-script { }; + meta = with lib; { homepage = "https://github.com/frama-c/${pname}"; description = "Lightweight tool for managing headers in source code files";