depot/third_party/nixpkgs/pkgs/development/python-modules/clize/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

51 lines
734 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, dateutil
, sigtools
, six
, attrs
, od
, docutils
, repeated_test
, pygments
, unittest2
, pytest
}:
buildPythonPackage rec {
pname = "clize";
version = "4.1.1";
src = fetchPypi {
inherit pname version;
sha256 = "f54dedcf6fea90a3e75c30cb65e0ab1e832760121f393b8d68edd711dbaf7187";
};
checkInputs = [
dateutil
pygments
repeated_test
unittest2
pytest
];
propagatedBuildInputs = [
attrs
docutils
od
sigtools
six
];
checkPhase = ''
pytest
'';
meta = with stdenv.lib; {
description = "Command-line argument parsing for Python";
homepage = "https://github.com/epsy/clize";
license = licenses.mit;
};
}