1{ lib, buildPythonPackage, fetchPypi, setuptools-scm }:
2
3buildPythonPackage rec {
4 pname = "py";
5 version = "1.11.0";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "51c75c4126074b472f746a24399ad32f6053d1b34b68d2fa41e558e6f4a98719";
10 };
11
12 # Circular dependency on pytest
13 doCheck = false;
14
15 nativeBuildInputs = [ setuptools-scm ];
16
17 pythonImportsCheck = [
18 "py"
19 ];
20
21 meta = with lib; {
22 description = "Library with cross-python path, ini-parsing, io, code, log facilities";
23 homepage = "https://py.readthedocs.io/";
24 license = licenses.mit;
25 };
26}