2022-01-07 16:08:54 +00:00
|
|
|
{ lib, eggDerivation, fetchFromGitHub, chickenEggs }:
|
2014-10-13 22:41:03 +00:00
|
|
|
|
|
|
|
# Note: This mostly reimplements the default.nix already contained in
|
|
|
|
# the tarball. Is there a nicer way than duplicating code?
|
|
|
|
|
2022-01-07 16:08:54 +00:00
|
|
|
eggDerivation rec {
|
|
|
|
name = "egg2nix-${version}";
|
2015-01-19 14:43:25 +00:00
|
|
|
version = "0.5";
|
2022-01-07 16:08:54 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "the-kenny";
|
|
|
|
repo = "egg2nix";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "sha256-5ov2SWVyTUQ6NHnZNPRywd9e7oIxHlVWv4uWbsNaj/s=";
|
2014-10-13 22:41:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = with chickenEggs; [
|
2014-10-18 00:07:38 +00:00
|
|
|
matchable http-client
|
2014-10-13 22:41:03 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
2014-10-27 00:13:23 +00:00
|
|
|
description = "Generate nix-expression from CHICKEN scheme eggs";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/the-kenny/egg2nix";
|
2021-01-22 11:25:31 +00:00
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
platforms = lib.platforms.unix;
|
|
|
|
maintainers = with lib.maintainers; [ corngood ];
|
2014-10-13 22:41:03 +00:00
|
|
|
};
|
|
|
|
}
|