46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
24 lines
673 B
Nix
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;
|
|
};
|
|
}
|