zdelta: expand platforms to all and refactor
This commit is contained in:
parent
3a05aac836
commit
3bced99816
@ -1,8 +0,0 @@
|
|||||||
source $stdenv/setup
|
|
||||||
|
|
||||||
installPhase() {
|
|
||||||
mkdir -p $out/bin
|
|
||||||
cp -p zdc zdu $out/bin
|
|
||||||
}
|
|
||||||
|
|
||||||
genericBuild
|
|
@ -1,16 +1,24 @@
|
|||||||
{ lib, stdenv, fetchurl }:
|
{ lib, stdenv, fetchurl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "zdelta-2.1";
|
pname = "zdelta";
|
||||||
builder = ./builder.sh;
|
version = "2.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "${meta.homepage}/downloads/${name}.tar.gz";
|
url = "https://web.archive.org/web/20160316212948/http://cis.poly.edu/zdelta/downloads/zdelta-2.1.tar.gz";
|
||||||
sha256 = "0k6y0r9kv5qiglnr2j4a0yvfynjkvm0pyv8ly28j0pr3w6rbxrh3";
|
sha256 = "sha256-WiQKWxJkINIwRBcdiuVLMDiupQ8gOsiXOEZvHDa5iFg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/bin
|
||||||
|
cp -p zdc zdu $out/bin
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "http://cis.poly.edu/zdelta";
|
homepage = "https://web.archive.org/web/20160316212948/http://cis.poly.edu/zdelta/";
|
||||||
platforms = platforms.linux;
|
platforms = platforms.all;
|
||||||
license = licenses.zlib;
|
license = licenses.zlib;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user