nixpkgs/pkgs/development/python-modules/py/default.nix
2019-12-30 16:46:54 +01:00

27 lines
595 B
Nix

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