nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 40 lines 837 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 nix-update-script, 6 ocamlPackages, 7 darwin, 8}: 9 10let 11 inherit (ocamlPackages) buildDunePackage camomile; 12in 13 14buildDunePackage rec { 15 pname = "headache"; 16 version = "1.08"; 17 18 src = fetchFromGitHub { 19 owner = "frama-c"; 20 repo = "headache"; 21 rev = "v${version}"; 22 sha256 = "sha256-UXQIIsCyJZN4qos7Si7LLm9vQueOduUmLeYHuyT2GZo="; 23 }; 24 25 nativeBuildInputs = lib.optional stdenv.hostPlatform.isDarwin darwin.sigtool; 26 27 propagatedBuildInputs = [ 28 camomile 29 ]; 30 31 passthru.updateScript = nix-update-script { }; 32 33 meta = { 34 homepage = "https://github.com/frama-c/headache"; 35 description = "Lightweight tool for managing headers in source code files"; 36 mainProgram = "headache"; 37 license = lib.licenses.lgpl2Plus; 38 maintainers = with lib.maintainers; [ niols ]; 39 }; 40}