evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / zd / zdelta / package.nix
blobb30a43f33c13abd2e309b7203cf4429b4c00b080
1 { lib, stdenv, fetchurl }:
3 stdenv.mkDerivation rec {
4   pname = "zdelta";
5   version = "2.1";
7   src = fetchurl {
8     url = "https://web.archive.org/web/20160316212948/http://cis.poly.edu/zdelta/downloads/zdelta-2.1.tar.gz";
9     sha256 = "sha256-WiQKWxJkINIwRBcdiuVLMDiupQ8gOsiXOEZvHDa5iFg=";
10   };
12   makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
14   installPhase = ''
15     mkdir -p $out/bin
16     cp -p zdc zdu $out/bin
17   '';
19   meta = with lib; {
20     homepage = "https://web.archive.org/web/20160316212948/http://cis.poly.edu/zdelta/";
21     platforms = platforms.all;
22     license = licenses.zlib;
23   };