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