tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
form: switch from fetchurl to fetchFromGitHub
jopejoe1
5 months ago
eff9933e
a4f79d88
+13
-7
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
fo
form
package.nix
+13
-7
pkgs/by-name/fo/form/package.nix
···
1
1
{
2
2
lib,
3
3
stdenv,
4
4
-
fetchurl,
4
4
+
fetchFromGitHub,
5
5
+
autoreconfHook,
5
6
gmp,
6
7
zlib,
7
8
}:
8
9
9
9
-
stdenv.mkDerivation {
10
10
+
stdenv.mkDerivation (finalAttrs: {
10
11
version = "4.3.1";
11
12
pname = "form";
12
13
13
13
-
# This tarball is released by author, it is not downloaded from tag, so can't use fetchFromGitHub
14
14
-
src = fetchurl {
15
15
-
url = "https://github.com/vermaseren/form/releases/download/v4.3.1/form-4.3.1.tar.gz";
16
16
-
sha256 = "sha256-8fUS3DT+m71rGfLf7wX8uZEt+0PINop1t5bsRy7ou84=";
14
14
+
src = fetchFromGitHub {
15
15
+
owner = "form-dev";
16
16
+
repo = "form";
17
17
+
tag = "v${finalAttrs.version}";
18
18
+
hash = "sha256-ZWpfPeTekHEALqXVF/nLkcNsrkt17AKm2B/uydUBfvo=";
17
19
};
20
20
+
21
21
+
nativeBuildInputs = [
22
22
+
autoreconfHook
23
23
+
];
18
24
19
25
buildInputs = [
20
26
gmp
···
28
34
maintainers = [ maintainers.veprbl ];
29
35
platforms = platforms.unix;
30
36
};
31
31
-
}
37
37
+
})