2022-01-13 20:06:32 +00:00
|
|
|
{ lib, eggDerivation, fetchFromGitHub, chickenEggs }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
# Note: This mostly reimplements the default.nix already contained in
|
|
|
|
# the tarball. Is there a nicer way than duplicating code?
|
|
|
|
|
2022-01-13 20:06:32 +00:00
|
|
|
eggDerivation rec {
|
|
|
|
name = "egg2nix-${version}";
|
2020-04-24 23:36:52 +00:00
|
|
|
version = "0.5";
|
2022-01-13 20:06:32 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "the-kenny";
|
|
|
|
repo = "egg2nix";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "sha256-5ov2SWVyTUQ6NHnZNPRywd9e7oIxHlVWv4uWbsNaj/s=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = with chickenEggs; [
|
|
|
|
matchable http-client
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Generate nix-expression from CHICKEN scheme eggs";
|
|
|
|
homepage = "https://github.com/the-kenny/egg2nix";
|
2021-02-05 17:12:51 +00:00
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
platforms = lib.platforms.unix;
|
|
|
|
maintainers = with lib.maintainers; [ corngood ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|