mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
39 lines
709 B
Nix
39 lines
709 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, easyprocess
|
|
, path
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "entrypoint2";
|
|
version = "1.1";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-/At/57IazatHpYWrlAfKflxPlstoiFddtrDOuR8OEFo=";
|
|
};
|
|
|
|
nativeCheckInputs = [
|
|
easyprocess
|
|
path
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"entrypoint2"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Easy to use command-line interface for python modules";
|
|
homepage = "https://github.com/ponty/entrypoint2/";
|
|
license = licenses.bsd2;
|
|
maintainers = with maintainers; [ austinbutler ];
|
|
};
|
|
}
|