5b567aa208
GitOrigin-RevId: 16105403bdd843540cbef9c63fc0f16c1c6eaa70
27 lines
662 B
Nix
27 lines
662 B
Nix
{ stdenv, lib, fetchurl, python3 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "itstool";
|
|
version = "2.0.6";
|
|
|
|
src = fetchurl {
|
|
url = "http://files.itstool.org/${pname}/${pname}-${version}.tar.bz2";
|
|
sha256 = "1acjgf8zlyk7qckdk19iqaca4jcmywd7vxjbcs1mm6kaf8icqcv2";
|
|
};
|
|
|
|
pythonPath = [ python3.pkgs.libxml2 ];
|
|
buildInputs = [ python3 python3.pkgs.libxml2 ];
|
|
nativeBuildInputs = [ python3.pkgs.wrapPython ];
|
|
|
|
postFixup = ''
|
|
wrapPythonPrograms
|
|
'';
|
|
|
|
meta = {
|
|
homepage = "http://itstool.org/";
|
|
description = "XML to PO and back again";
|
|
license = lib.licenses.gpl3Plus;
|
|
platforms = lib.platforms.all;
|
|
maintainers = [ ];
|
|
};
|
|
}
|