6f2fbf5f0b
This fixes hopefully all remaining missing lib inputs, likely introduced as a regression by our recent treewide switch from stdenv.lib to lib. These instances are all I could find using nix-instantiate --parse using the following command: find "$NIXPKGS" -name '*.nix' \ -and ! -path "$NIXPKGS/pkgs/development/interpreters/python/cpython/docs/template.nix" \ -and ! -path '$NIXPKGS/.git/**' \ -print0 | xargs -0 nix-instantiate --parse >/dev/null
27 lines
755 B
Nix
27 lines
755 B
Nix
{ lib, 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.5";
|
|
in
|
|
eggDerivation {
|
|
src = fetchurl {
|
|
url = "https://github.com/the-kenny/egg2nix/archive/${version}.tar.gz";
|
|
sha256 = "0adal428v4i7h9lzs7sfq75q2mxhsbf1qqwzrsjv8j41paars20y";
|
|
};
|
|
|
|
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 = lib.licenses.bsd3;
|
|
platforms = lib.platforms.unix;
|
|
maintainers = with lib.maintainers; [ corngood ];
|
|
};
|
|
}
|