tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
chickenPackages_4.egg2nix: switch to fetchFromGitHub
Felix Buehler
4 years ago
45eeb92d
17c63d32
+9
-8
1 changed file
expand all
collapse all
unified
split
pkgs
development
compilers
chicken
4
egg2nix.nix
+9
-8
pkgs/development/compilers/chicken/4/egg2nix.nix
···
1
-
{ lib, eggDerivation, fetchurl, 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
6
-
let
0
7
version = "0.5";
8
-
in
9
-
eggDerivation {
10
-
src = fetchurl {
11
-
url = "https://github.com/the-kenny/egg2nix/archive/${version}.tar.gz";
12
-
sha256 = "0adal428v4i7h9lzs7sfq75q2mxhsbf1qqwzrsjv8j41paars20y";
0
13
};
14
15
-
name = "egg2nix-${version}";
16
buildInputs = with chickenEggs; [
17
matchable http-client
18
];
···
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
6
+
eggDerivation 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
0
17
buildInputs = with chickenEggs; [
18
matchable http-client
19
];