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