wv: move to finalAttrs
Use the github mirror Add link to github homepage
This commit is contained in:
parent
71d9d20dc9
commit
07fcb5e223
1 changed files with 9 additions and 6 deletions
|
@ -1,16 +1,18 @@
|
||||||
{ lib, stdenv, fetchurl, zlib, imagemagick, libpng, glib, pkg-config, libgsf
|
{ lib, stdenv, fetchFromGitHub, zlib, imagemagick, libpng, glib, pkg-config, libgsf
|
||||||
, libxml2, bzip2
|
, libxml2, bzip2
|
||||||
, autoreconfHook
|
, autoreconfHook
|
||||||
, buildPackages
|
, buildPackages
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "wv";
|
pname = "wv";
|
||||||
version = "1.2.9";
|
version = "1.2.9";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "http://www.abisource.com/downloads/${pname}/${version}/${pname}-${version}.tar.gz";
|
owner = "AbiWord";
|
||||||
sha256 = "17f16lkdv1c3amaz2hagiicih59ynpp4786k1m2qa1sw68xhswsc";
|
repo = "wv";
|
||||||
|
rev = "wv-${builtins.replaceStrings ["."] ["-"] finalAttrs.version}";
|
||||||
|
hash = "sha256-xcC+/M1EzFqQFeF5Dw9qd8VIy7r8JdKMp2X/GHkFiPA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config autoreconfHook ];
|
nativeBuildInputs = [ pkg-config autoreconfHook ];
|
||||||
|
@ -30,8 +32,9 @@ stdenv.mkDerivation rec {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
homepage = "https://github.com/AbiWord/wv";
|
||||||
description = "Converter from Microsoft Word formats to human-editable ones";
|
description = "Converter from Microsoft Word formats to human-editable ones";
|
||||||
platforms = lib.platforms.unix;
|
platforms = lib.platforms.unix;
|
||||||
license = lib.licenses.gpl2;
|
license = lib.licenses.gpl2;
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|
Loading…
Reference in a new issue