nixpkgs/pkgs/development/python-modules/py/default.nix
2021-04-03 17:49:06 +02:00

27 lines
588 B
Nix

{ lib, buildPythonPackage, fetchPypi, setuptools_scm }:
buildPythonPackage rec {
pname = "py";
version = "1.10.0";
src = fetchPypi {
inherit pname version;
sha256 = "21b81bda15b66ef5e1a777a21c4dcd9c20ad3efd0b3f817e7a809035269e1bd3";
};
# Circular dependency on pytest
doCheck = false;
nativeBuildInputs = [ setuptools_scm ];
pythonImportsCheck = [
"py"
];
meta = with lib; {
description = "Library with cross-python path, ini-parsing, io, code, log facilities";
homepage = "https://pylib.readthedocs.org/";
license = licenses.mit;
};
}