mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-02 02:53:55 +00:00
28 lines
772 B
Nix
28 lines
772 B
Nix
{ stdenv, eggDerivation, fetchurl, chickenEggs }:
|
|
|
|
# Note: This mostly reimplements the default.nix already contained in
|
|
# the tarball. Is there a nicer way than duplicating code?
|
|
|
|
let
|
|
version = "0.3";
|
|
in
|
|
eggDerivation {
|
|
src = fetchurl {
|
|
url = "https://github.com/the-kenny/egg2nix/archive/${version}.tar.gz";
|
|
sha256 = "1sv6v5a3a17lsyx1i9ajlvix0v8yzl0nnvv9da9c1k349w0fdijv";
|
|
};
|
|
|
|
name = "egg2nix-${version}";
|
|
buildInputs = with chickenEggs; [
|
|
matchable http-client
|
|
];
|
|
|
|
meta = {
|
|
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 ];
|
|
};
|
|
}
|