2018-07-22 11:17:12 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, setuptools_scm }:
|
2019-08-01 19:05:55 +01:00
|
|
|
|
2017-07-20 13:29:52 +01:00
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "py";
|
2019-08-01 19:05:55 +01:00
|
|
|
version = "1.8.0";
|
2017-07-20 13:29:52 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-08-01 19:05:55 +01:00
|
|
|
sha256 = "0lsy1gajva083pzc7csj1cvbmminb7b4l6a0prdzyb3fd829nqyw";
|
2017-07-20 13:29:52 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
# Circular dependency on pytest
|
|
|
|
doCheck = false;
|
|
|
|
|
2019-07-17 19:36:47 +01:00
|
|
|
nativeBuildInputs = [ setuptools_scm ];
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"py"
|
|
|
|
];
|
2018-07-22 11:17:12 +01:00
|
|
|
|
2017-07-20 13:29:52 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Library with cross-python path, ini-parsing, io, code, log facilities";
|
2019-04-22 09:24:21 +01:00
|
|
|
homepage = https://pylib.readthedocs.org/;
|
2017-07-20 13:29:52 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|