nixpkgs-suyu/pkgs/development/tools/egg2nix/default.nix

28 lines
772 B
Nix
Raw Normal View History

{ stdenv, eggDerivation, fetchurl, chickenEggs }:
# Note: This mostly reimplements the default.nix already contained in
# the tarball. Is there a nicer way than duplicating code?
2014-10-27 01:13:23 +01:00
let
2015-01-19 15:43:25 +01:00
version = "0.5";
2014-10-27 01:13:23 +01:00
in
eggDerivation {
src = fetchurl {
2014-10-27 01:13:23 +01:00
url = "https://github.com/the-kenny/egg2nix/archive/${version}.tar.gz";
2015-01-19 15:43:25 +01:00
sha256 = "0adal428v4i7h9lzs7sfq75q2mxhsbf1qqwzrsjv8j41paars20y";
};
2014-10-27 01:13:23 +01:00
name = "egg2nix-${version}";
buildInputs = with chickenEggs; [
matchable http-client
];
meta = {
2014-10-27 01:13:23 +01: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 = [ stdenv.lib.maintainers.the-kenny ];
};
}