blob: c8889d33401b8ae6e5b2247bf60e919656fd2666 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
{ stdenv
, lib
, fetchurl
, python3
}:
stdenv.mkDerivation rec {
pname = "itstool";
version = "2.0.7";
src = fetchurl {
url = "http://files.itstool.org/${pname}/${pname}-${version}.tar.bz2";
hash = "sha256-a5p80poSu5VZj1dQ6HY87niDahogf4W3TYsydbJ+h8o=";
};
strictDeps = true;
nativeBuildInputs = [
python3
python3.pkgs.wrapPython
];
buildInputs = [
python3
python3.pkgs.libxml2
];
pythonPath = [
python3.pkgs.libxml2
];
postFixup = ''
wrapPythonPrograms
'';
meta = {
homepage = "https://itstool.org/";
description = "XML to PO and back again";
mainProgram = "itstool";
license = lib.licenses.gpl3Plus;
platforms = lib.platforms.all;
maintainers = [ ];
};
}
|