nixpkgs-suyu/pkgs/development/python-modules/py/default.nix

27 lines
584 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi, setuptools-scm }:
2019-08-01 20:05:55 +02:00
2017-07-20 14:29:52 +02:00
buildPythonPackage rec {
pname = "py";
2021-11-25 23:47:06 +01:00
version = "1.11.0";
2017-07-20 14:29:52 +02:00
src = fetchPypi {
inherit pname version;
2021-11-25 23:47:06 +01:00
sha256 = "51c75c4126074b472f746a24399ad32f6053d1b34b68d2fa41e558e6f4a98719";
2017-07-20 14:29:52 +02:00
};
# Circular dependency on pytest
doCheck = false;
nativeBuildInputs = [ setuptools-scm ];
pythonImportsCheck = [
"py"
];
2018-07-22 12:17:12 +02:00
meta = with lib; {
2017-07-20 14:29:52 +02:00
description = "Library with cross-python path, ini-parsing, io, code, log facilities";
2021-04-17 10:31:50 +02:00
homepage = "https://py.readthedocs.io/";
2017-07-20 14:29:52 +02:00
license = licenses.mit;
};
}