Files
nixpkgs/pkgs/by-name/au/autosubst2/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

50 lines
1.1 KiB
Nix

{
lib,
haskellPackages,
fetchFromGitHub,
}:
haskellPackages.mkDerivation {
pname = "autosubst2";
version = "0-unstable-2022-07-04";
src = fetchFromGitHub {
owner = "uds-psl";
repo = "autosubst2";
rev = "8a71e1dc4dea81f13a9572ea302064eb374566c6";
hash = "sha256-3n87NBi3NbuDb44/oEnzjNk/TAHUwATJYuaw70k/tpk=";
};
patches = [ ./imports.patch ];
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = with haskellPackages; [
base
parsec
containers
mtl
array
wl-pprint
graphviz
text
];
executableHaskellDepends = with haskellPackages; [
base
optparse-applicative
wl-pprint
directory
];
testHaskellDepends = with haskellPackages; [
base
QuickCheck
containers
];
doCheck = false;
homepage = "https://github.com/uds-psl/autosubst2";
description = "Tool for generating de Bruijn boilerplate Coq code to handle substitutions in languages with binders";
maintainers = with lib.maintainers; [ chen ];
license = lib.licenses.bsd3;
mainProgram = "as2-exe";
}