summary refs log tree commit diff
path: root/pkgs/development/python-modules/py/default.nix
blob: 7b84d72fde48b85d0ff6ae96b017b9c5e985ebd6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ 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;
  };
}