pagsuite: fetchzip -> fetchurl
This commit is contained in:
parent
e076aed2b7
commit
751c42b62b
1 changed files with 7 additions and 7 deletions
|
@ -1,7 +1,8 @@
|
||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchzip
|
, fetchurl
|
||||||
, cmake
|
, cmake
|
||||||
|
, unzip
|
||||||
, gmp
|
, gmp
|
||||||
, scalp
|
, scalp
|
||||||
}:
|
}:
|
||||||
|
@ -10,17 +11,16 @@ stdenv.mkDerivation rec {
|
||||||
pname = "pagsuite";
|
pname = "pagsuite";
|
||||||
version = "1.80";
|
version = "1.80";
|
||||||
|
|
||||||
src = fetchzip {
|
src = fetchurl {
|
||||||
url = "https://gitlab.com/kumm/pagsuite/-/raw/master/releases/pagsuite_${lib.replaceStrings ["."] ["_"] version}.zip";
|
url = "https://gitlab.com/kumm/pagsuite/-/raw/master/releases/pagsuite_${lib.replaceStrings ["."] ["_"] version}.zip";
|
||||||
sha256 = "sha256-JuRuDPhKKBGz8jUBkZcZW5s2berOewjsPNR/n7kuofY=";
|
hash = "sha256-TYd+dleVPWEWU9Cb3XExd7ixJZyiUAp9QLtorYJSIbQ=";
|
||||||
stripRoot = false;
|
|
||||||
postFetch = ''
|
|
||||||
mv $out/pagsuite*/* $out
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
sourceRoot = "pagsuite_${lib.replaceStrings ["."] ["_"] version}";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cmake
|
cmake
|
||||||
|
unzip
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
|
Loading…
Reference in a new issue