nixpkgs/pkgs/development/python-modules/py/default.nix

27 lines
597 B
Nix
Raw Normal View History

2018-07-22 10:17:12 +00:00
{ stdenv, buildPythonPackage, fetchPypi, setuptools_scm }:
2019-08-01 18:05:55 +00:00
2017-07-20 12:29:52 +00:00
buildPythonPackage rec {
pname = "py";
2019-12-29 09:28:08 +00:00
version = "1.8.1";
2017-07-20 12:29:52 +00:00
src = fetchPypi {
inherit pname version;
2019-12-29 09:28:08 +00:00
sha256 = "5e27081401262157467ad6e7f851b7aa402c5852dbcb3dae06768434de5752aa";
2017-07-20 12:29:52 +00:00
};
# Circular dependency on pytest
doCheck = false;
nativeBuildInputs = [ setuptools_scm ];
pythonImportsCheck = [
"py"
];
2018-07-22 10:17:12 +00:00
2017-07-20 12:29:52 +00:00
meta = with stdenv.lib; {
description = "Library with cross-python path, ini-parsing, io, code, log facilities";
homepage = "https://pylib.readthedocs.org/";
2017-07-20 12:29:52 +00:00
license = licenses.mit;
};
}