depot/third_party/nixpkgs/pkgs/development/python-modules/py/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

27 lines
609 B
Nix

{ lib, buildPythonPackage, fetchPypi, setuptools-scm }:
buildPythonPackage rec {
pname = "py";
version = "1.11.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "51c75c4126074b472f746a24399ad32f6053d1b34b68d2fa41e558e6f4a98719";
};
# 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;
};
}