2023-07-05 14:33:49 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchurl
|
|
|
|
, python3
|
|
|
|
}:
|
2012-01-06 20:09:39 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-06-20 10:34:30 +00:00
|
|
|
pname = "itstool";
|
2023-07-05 14:33:49 +00:00
|
|
|
version = "2.0.7";
|
2012-01-06 20:09:39 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-06-20 10:34:30 +00:00
|
|
|
url = "http://files.itstool.org/${pname}/${pname}-${version}.tar.bz2";
|
2023-07-05 14:33:49 +00:00
|
|
|
hash = "sha256-a5p80poSu5VZj1dQ6HY87niDahogf4W3TYsydbJ+h8o=";
|
2012-01-06 20:09:39 +00:00
|
|
|
};
|
|
|
|
|
2021-10-22 23:02:36 +00:00
|
|
|
strictDeps = true;
|
|
|
|
|
2023-07-05 14:33:49 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
python3
|
|
|
|
python3.pkgs.wrapPython
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
python3
|
|
|
|
python3.pkgs.libxml2
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonPath = [
|
|
|
|
python3.pkgs.libxml2
|
|
|
|
];
|
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 = {
|
2023-01-21 21:41:12 +00:00
|
|
|
homepage = "https://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 17:11:17 +00:00
|
|
|
maintainers = [ ];
|
2012-01-06 20:09:39 +00:00
|
|
|
};
|
|
|
|
}
|