2019-12-03 21:47:16 +00:00
|
|
|
{ stdenv, lib, fetchurl, python3 }:
|
2012-01-06 20:09:39 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-10-31 00:32:15 +00:00
|
|
|
name = "itstool-2.0.6";
|
2012-01-06 20:09:39 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://files.itstool.org/itstool/${name}.tar.bz2";
|
2019-10-31 00:32:15 +00:00
|
|
|
sha256 = "1acjgf8zlyk7qckdk19iqaca4jcmywd7vxjbcs1mm6kaf8icqcv2";
|
2012-01-06 20:09:39 +00:00
|
|
|
};
|
|
|
|
|
2020-03-17 15:56:04 +00:00
|
|
|
pythonPath = [ python3.pkgs.libxml2 ];
|
|
|
|
buildInputs = [ python3 python3.pkgs.libxml2 ];
|
|
|
|
nativeBuildInputs = [ python3.pkgs.wrapPython ];
|
2012-01-06 20:09:39 +00:00
|
|
|
|
2020-03-17 15:56:04 +00:00
|
|
|
postFixup = ''
|
|
|
|
wrapPythonPrograms
|
2019-12-03 21:47:16 +00:00
|
|
|
'';
|
|
|
|
|
2012-01-06 20:09:39 +00:00
|
|
|
meta = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://itstool.org/";
|
2012-01-06 20:09:39 +00:00
|
|
|
description = "XML to PO and back again";
|
2021-01-23 12:26:19 +00:00
|
|
|
license = lib.licenses.gpl3Plus;
|
|
|
|
platforms = lib.platforms.all;
|
2017-03-27 18:11:17 +01:00
|
|
|
maintainers = [ ];
|
2012-01-06 20:09:39 +00:00
|
|
|
};
|
|
|
|
}
|