2021-06-03 10:09:11 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, setuptools-scm }:
|
2019-08-01 18:05:55 +00:00
|
|
|
|
2017-07-20 12:29:52 +00:00
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "py";
|
2021-11-25 22:47:06 +00:00
|
|
|
version = "1.11.0";
|
2017-07-20 12:29:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-11-25 22:47:06 +00:00
|
|
|
sha256 = "51c75c4126074b472f746a24399ad32f6053d1b34b68d2fa41e558e6f4a98719";
|
2017-07-20 12:29:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# Circular dependency on pytest
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-06-03 10:09:11 +00:00
|
|
|
nativeBuildInputs = [ setuptools-scm ];
|
2019-07-17 18:36:47 +00:00
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"py"
|
|
|
|
];
|
2018-07-22 10:17:12 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-07-20 12:29:52 +00:00
|
|
|
description = "Library with cross-python path, ini-parsing, io, code, log facilities";
|
2021-04-17 08:31:50 +00:00
|
|
|
homepage = "https://py.readthedocs.io/";
|
2017-07-20 12:29:52 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|