nixpkgs/pkgs/development/libraries/zimlib/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

24 lines
584 B
Nix

{ stdenv, fetchurl, lzma }:
stdenv.mkDerivation rec {
pname = "zimlib";
version = "1.4";
src = fetchurl {
url = "http://www.openzim.org/download/${pname}-${version}.tar.gz";
sha256 = "14ra3iq42x53k1nqxb5lsg4gadlkpkgv6cbjjl6305ajmbrghcdq";
};
buildInputs = [ lzma ];
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "Library for reading and writing ZIM files";
homepage = http://www.openzim.org/wiki/Zimlib;
license = licenses.gpl2;
maintainers = with maintainers; [ robbinch ];
platforms = platforms.linux;
};
}