3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/misc/wv/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
673 B
Nix

{ stdenv, fetchurl, zlib, imagemagick, libpng, glib, pkgconfig, libgsf
, libxml2, bzip2 }:
stdenv.mkDerivation rec {
pname = "wv";
version = "1.2.9";
src = fetchurl {
url = "http://www.abisource.com/downloads/${pname}/${version}/${pname}-${version}.tar.gz";
sha256 = "17f16lkdv1c3amaz2hagiicih59ynpp4786k1m2qa1sw68xhswsc";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ zlib imagemagick libpng glib libgsf libxml2 bzip2 ];
hardeningDisable = [ "format" ];
meta = {
description = "Converter from Microsoft Word formats to human-editable ones";
platforms = stdenv.lib.platforms.unix;
license = stdenv.lib.licenses.gpl2;
};
}