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

27 lines
597 B
Nix
Raw Normal View History

2018-07-22 12:17:12 +02:00
{ stdenv, buildPythonPackage, fetchPypi, setuptools_scm }:
2019-08-01 20:05:55 +02:00
2017-07-20 14:29:52 +02:00
buildPythonPackage rec {
pname = "py";
2020-08-16 19:31:10 +02:00
version = "1.9.0";
2017-07-20 14:29:52 +02:00
src = fetchPypi {
inherit pname version;
2020-08-16 19:31:10 +02:00
sha256 = "9ca6883ce56b4e8da7e79ac18787889fa5206c79dcc67fb065376cd2fe03f342";
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
2017-07-20 14:29:52 +02:00
meta = with stdenv.lib; {
description = "Library with cross-python path, ini-parsing, io, code, log facilities";
homepage = "https://pylib.readthedocs.org/";
2017-07-20 14:29:52 +02:00
license = licenses.mit;
};
}