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