3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/py/default.nix

27 lines
597 B
Nix
Raw Normal View History

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";
2020-07-31 09:56:44 +01:00
version = "1.8.2";
2017-07-20 13:29:52 +01:00
src = fetchPypi {
inherit pname version;
2020-07-31 09:56:44 +01:00
sha256 = "f3b3a4c36512a4c4f024041ab51866f11761cc169670204b235f6b20523d4e6b";
2017-07-20 13:29:52 +01:00
};
# Circular dependency on pytest
doCheck = false;
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";
homepage = "https://pylib.readthedocs.org/";
2017-07-20 13:29:52 +01:00
license = licenses.mit;
};
}