fluffychat: 1.22.1 -> 1.23.0 (#364091)
[NixPkgs.git] / pkgs / by-name / zd / zdelta / package.nix
blobc84cd85f679c0d3b12be4fe26462037e81b16333
2   lib,
3   stdenv,
4   fetchurl,
5 }:
7 stdenv.mkDerivation rec {
8   pname = "zdelta";
9   version = "2.1";
11   src = fetchurl {
12     url = "https://web.archive.org/web/20160316212948/http://cis.poly.edu/zdelta/downloads/zdelta-2.1.tar.gz";
13     sha256 = "sha256-WiQKWxJkINIwRBcdiuVLMDiupQ8gOsiXOEZvHDa5iFg=";
14   };
16   makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
18   installPhase = ''
19     mkdir -p $out/bin
20     cp -p zdc zdu $out/bin
21   '';
23   meta = with lib; {
24     homepage = "https://web.archive.org/web/20160316212948/http://cis.poly.edu/zdelta/";
25     platforms = platforms.all;
26     license = licenses.zlib;
27   };