2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, setuptools_scm }:
|
2019-08-01 19:05:55 +01:00
|
|
|
|
2017-07-20 13:29:52 +01:00
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "py";
|
2021-03-24 09:28:22 +00:00
|
|
|
version = "1.10.0";
|
2017-07-20 13:29:52 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-03-24 09:28:22 +00:00
|
|
|
sha256 = "21b81bda15b66ef5e1a777a21c4dcd9c20ad3efd0b3f817e7a809035269e1bd3";
|
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
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-07-20 13:29:52 +01:00
|
|
|
description = "Library with cross-python path, ini-parsing, io, code, log facilities";
|
2021-04-17 09:31:50 +01:00
|
|
|
homepage = "https://py.readthedocs.io/";
|
2017-07-20 13:29:52 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|