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";
|
2020-07-31 08:56:44 +00:00
|
|
|
version = "1.8.2";
|
2017-07-20 12:29:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-07-31 08:56:44 +00:00
|
|
|
sha256 = "f3b3a4c36512a4c4f024041ab51866f11761cc169670204b235f6b20523d4e6b";
|
2017-07-20 12:29:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# Circular dependency on pytest
|
|
|
|
doCheck = false;
|
|
|
|
|
2019-07-17 18:36:47 +00:00
|
|
|
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";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://pylib.readthedocs.org/";
|
2017-07-20 12:29:52 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|