python.pkgs.odfpy: 0.9.6 -> 1.3.5

This commit is contained in:
Frederik Rietdijk 2017-08-25 10:40:49 +02:00
parent 1e4029fa0a
commit b1c1892e2d
2 changed files with 30 additions and 19 deletions

View file

@ -0,0 +1,29 @@
{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "odfpy";
version = "1.3.5";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "6f8163f8464868cff9421a058f25566e41d73c8f7e849c021b86630941b44366";
};
checkPhase = ''
pushd tests
rm runtests
for file in test*.py; do
python $file
done
'';
meta = {
description = "Python API and tools to manipulate OpenDocument files";
homepage = "https://joinup.ec.europa.eu/software/odfpy/home";
license = lib.licenses.asl20;
};
}

View file

@ -7365,25 +7365,7 @@ in {
}; };
}; };
odfpy = buildPythonPackage rec { odfpy = callPackage ../development/python-modules/odfpy { };
version = "0.9.6";
name = "odfpy-${version}";
src = pkgs.fetchurl {
url = "mirror://pypi/o/odfpy/${name}.tar.gz";
sha256 = "e458f969f1ccd7ed77d70a45fe69ad656ac61b39e36e4d32c42d4e3216030891";
};
buildInputs = with self; with pkgs; [ ];
propagatedBuildInputs = with self; [ ];
meta = {
description = "Python API and tools to manipulate OpenDocument files";
homepage = "https://joinup.ec.europa.eu/software/odfpy/home";
license = licenses.asl20;
};
};
oger = buildPythonPackage rec { oger = buildPythonPackage rec {
name = "oger-${version}"; name = "oger-${version}";