depot/third_party/nixpkgs/pkgs/development/python-modules/py/default.nix
Default email 9405df4a82 Project import generated by Copybara.
GitOrigin-RevId: 8e4fe32876ca15e3d5eb3ecd3ca0b224417f5f17
2021-04-26 15:14:03 -04:00

26 lines
584 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://py.readthedocs.io/";
license = licenses.mit;
};
}