Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 eggDerivation, 4 fetchFromGitHub, 5 chickenEggs, 6}: 7 8# Note: This mostly reimplements the default.nix already contained in 9# the tarball. Is there a nicer way than duplicating code? 10 11let 12 version = "c5-git"; 13in 14eggDerivation { 15 src = fetchFromGitHub { 16 owner = "corngood"; 17 repo = "egg2nix"; 18 rev = "chicken-5"; 19 sha256 = "1vfnhbcnyakywgjafhs0k5kpsdnrinzvdjxpz3fkwas1jsvxq3d1"; 20 }; 21 22 name = "egg2nix-${version}"; 23 buildInputs = with chickenEggs; [ 24 args 25 matchable 26 ]; 27 28 meta = { 29 description = "Generate nix-expression from CHICKEN scheme eggs"; 30 mainProgram = "egg2nix"; 31 homepage = "https://github.com/the-kenny/egg2nix"; 32 license = lib.licenses.bsd3; 33 platforms = lib.platforms.unix; 34 maintainers = with lib.maintainers; [ corngood ]; 35 }; 36}