nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, eggDerivation, fetchFromGitHub, chickenEggs }:
2
3# Note: This mostly reimplements the default.nix already contained in
4# the tarball. Is there a nicer way than duplicating code?
5
6eggDerivation rec {
7 name = "egg2nix-${version}";
8 version = "0.5";
9
10 src = fetchFromGitHub {
11 owner = "the-kenny";
12 repo = "egg2nix";
13 rev = version;
14 sha256 = "sha256-5ov2SWVyTUQ6NHnZNPRywd9e7oIxHlVWv4uWbsNaj/s=";
15 };
16
17 buildInputs = with chickenEggs; [
18 matchable http-client
19 ];
20
21 meta = {
22 description = "Generate nix-expression from CHICKEN scheme eggs";
23 homepage = "https://github.com/the-kenny/egg2nix";
24 license = lib.licenses.bsd3;
25 platforms = lib.platforms.unix;
26 maintainers = with lib.maintainers; [ corngood ];
27 };
28}