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
36 lines
798 B
Nix
36 lines
798 B
Nix
{
|
|
lib,
|
|
eggDerivation,
|
|
fetchFromGitHub,
|
|
chickenEggs,
|
|
}:
|
|
|
|
# Note: This mostly reimplements the default.nix already contained in
|
|
# the tarball. Is there a nicer way than duplicating code?
|
|
|
|
eggDerivation rec {
|
|
name = "egg2nix-${version}";
|
|
version = "0.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "the-kenny";
|
|
repo = "egg2nix";
|
|
rev = version;
|
|
sha256 = "sha256-5ov2SWVyTUQ6NHnZNPRywd9e7oIxHlVWv4uWbsNaj/s=";
|
|
};
|
|
|
|
buildInputs = with chickenEggs; [
|
|
matchable
|
|
http-client
|
|
];
|
|
|
|
meta = {
|
|
description = "Generate nix-expression from CHICKEN scheme eggs";
|
|
mainProgram = "egg2nix";
|
|
homepage = "https://github.com/the-kenny/egg2nix";
|
|
license = lib.licenses.bsd3;
|
|
platforms = lib.platforms.unix;
|
|
maintainers = with lib.maintainers; [ corngood ];
|
|
};
|
|
}
|