diff options
author | ajs124 <git@ajs124.de> | 2020-01-17 23:29:26 +0100 |
---|---|---|
committer | ajs124 <git@ajs124.de> | 2020-01-17 23:29:26 +0100 |
commit | 782ea12568bfd03d43ed7b2e823b6d27241d65be (patch) | |
tree | 88b2c9b9af7951dd088535949c69c703f3bdc015 /pkgs/tools/compression/zopfli | |
parent | 63f515a3df7a44699d8d41ae2bb23084d9226522 (diff) |
zopfli: 1.0.2 -> 1.0.3
Diffstat (limited to 'pkgs/tools/compression/zopfli')
-rw-r--r-- | pkgs/tools/compression/zopfli/default.nix | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/pkgs/tools/compression/zopfli/default.nix b/pkgs/tools/compression/zopfli/default.nix index accead9db0bc..586c47de582c 100644 --- a/pkgs/tools/compression/zopfli/default.nix +++ b/pkgs/tools/compression/zopfli/default.nix @@ -2,32 +2,21 @@ stdenv.mkDerivation rec { pname = "zopfli"; - version = "1.0.2"; + version = "1.0.3"; src = fetchFromGitHub { owner = "google"; repo = "zopfli"; rev = "${pname}-${version}"; name = "${pname}-${version}-src"; - sha256 = "1l551hx2p4qi0w9lk96qklbv6ll68gxbah07fhqx1ly28rv5wy9y"; + sha256 = "0dr8n4j5nj2h9n208jns56wglw59gg4qm3s7c6y3hs75d0nnkhm4"; }; - patches = [ - (fetchpatch { - name = "zopfli-cmake.patch"; - url = "https://github.com/google/zopfli/commit/7554e4d34e7000b0595aa606e7d72357cf46ba86.patch"; - sha256 = "1pvfhir2083v1l042a4dy5byqdmad7sxnd4jrprl2hzzb2avxbbn"; - }) - ]; - nativeBuildInputs = [ cmake ]; cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" "-DCMAKE_BUILD_WITH_INSTALL_RPATH=ON" ]; - installPhase = '' - install -D -t $out/bin zopfli* - install -d $out/lib - cp -d libzopfli* $out/lib + postInstall = '' install -Dm444 -t $out/share/doc/zopfli ../README* ''; |