mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
27 lines
587 B
Nix
27 lines
587 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://pylib.readthedocs.org/";
|
|
license = licenses.mit;
|
|
};
|
|
}
|