python310Packages.entrypoint2: add format

This commit is contained in:
Fabian Affolter 2022-06-12 11:34:53 +02:00 committed by GitHub
parent d574ec79cb
commit 8ae485e75b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,17 +1,33 @@
{ lib, buildPythonPackage, fetchPypi, EasyProcess, path, pytestCheckHook }:
{ 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;
sha256 = "sha256-/At/57IazatHpYWrlAfKflxPlstoiFddtrDOuR8OEFo=";
hash = "sha256-/At/57IazatHpYWrlAfKflxPlstoiFddtrDOuR8OEFo=";
};
pythonImportsCheck = [ "entrypoint2" ];
checkInputs = [
EasyProcess
path
pytestCheckHook
];
checkInputs = [ EasyProcess path pytestCheckHook ];
pythonImportsCheck = [
"entrypoint2"
];
meta = with lib; {
description = "Easy to use command-line interface for python modules";