depot/third_party/nixpkgs/pkgs/development/python-modules/py/default.nix
Default email 139d06eab7 Project import generated by Copybara.
GitOrigin-RevId: b2f2d04f01b3de3abad0dd9bc48ad7a3ee32bbc6
2021-04-18 04:13:31 +02:00

26 lines
583 B
Nix

{ lib, buildPythonPackage, fetchPypi, setuptools_scm }:
buildPythonPackage rec {
pname = "py";
version = "1.9.0";
src = fetchPypi {
inherit pname version;
sha256 = "9ca6883ce56b4e8da7e79ac18787889fa5206c79dcc67fb065376cd2fe03f342";
};
# 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://py.readthedocs.io/";
license = licenses.mit;
};
}