chickenPackages_4.egg2nix: switch to fetchFromGitHub
This commit is contained in:
parent
17c63d329d
commit
45eeb92d44
|
@ -1,18 +1,19 @@
|
||||||
{ lib, eggDerivation, fetchurl, chickenEggs }:
|
{ lib, eggDerivation, fetchFromGitHub, chickenEggs }:
|
||||||
|
|
||||||
# Note: This mostly reimplements the default.nix already contained in
|
# Note: This mostly reimplements the default.nix already contained in
|
||||||
# the tarball. Is there a nicer way than duplicating code?
|
# the tarball. Is there a nicer way than duplicating code?
|
||||||
|
|
||||||
let
|
eggDerivation rec {
|
||||||
|
name = "egg2nix-${version}";
|
||||||
version = "0.5";
|
version = "0.5";
|
||||||
in
|
|
||||||
eggDerivation {
|
src = fetchFromGitHub {
|
||||||
src = fetchurl {
|
owner = "the-kenny";
|
||||||
url = "https://github.com/the-kenny/egg2nix/archive/${version}.tar.gz";
|
repo = "egg2nix";
|
||||||
sha256 = "0adal428v4i7h9lzs7sfq75q2mxhsbf1qqwzrsjv8j41paars20y";
|
rev = version;
|
||||||
|
sha256 = "sha256-5ov2SWVyTUQ6NHnZNPRywd9e7oIxHlVWv4uWbsNaj/s=";
|
||||||
};
|
};
|
||||||
|
|
||||||
name = "egg2nix-${version}";
|
|
||||||
buildInputs = with chickenEggs; [
|
buildInputs = with chickenEggs; [
|
||||||
matchable http-client
|
matchable http-client
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue