nixpkgs/pkgs/development/compilers/chicken/5/egg2nix.nix

30 lines
782 B
Nix
Raw Normal View History

2018-11-14 03:17:50 +00:00
{ stdenv, eggDerivation, fetchFromGitHub, chickenEggs }:
# Note: This mostly reimplements the default.nix already contained in
# the tarball. Is there a nicer way than duplicating code?
2014-10-27 00:13:23 +00:00
let
2018-11-14 03:17:50 +00:00
version = "c5-git";
2014-10-27 00:13:23 +00:00
in
eggDerivation {
2018-11-14 03:17:50 +00:00
src = fetchFromGitHub {
owner = "corngood";
repo = "egg2nix";
rev = "chicken-5";
sha256 = "1vfnhbcnyakywgjafhs0k5kpsdnrinzvdjxpz3fkwas1jsvxq3d1";
};
2014-10-27 00:13:23 +00:00
name = "egg2nix-${version}";
buildInputs = with chickenEggs; [
2018-11-14 03:17:50 +00:00
args matchable
];
meta = {
2014-10-27 00:13:23 +00:00
description = "Generate nix-expression from CHICKEN scheme eggs";
homepage = "https://github.com/the-kenny/egg2nix";
license = stdenv.lib.licenses.bsd3;
platforms = stdenv.lib.platforms.unix;
maintainers = with stdenv.lib.maintainers; [ corngood ];
};
}