2022-01-27 00:19:43 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, EasyProcess, pathpy, pytestCheckHook }:
|
2020-10-07 09:15:18 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "entrypoint2";
|
2022-01-27 00:19:43 +00:00
|
|
|
version = "1.0";
|
2020-10-07 09:15:18 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-01-27 00:19:43 +00:00
|
|
|
sha256 = "sha256-Z+kG9q2VjYP0i07ewo192CZw6SYZiPa0prY6vJ+zvlY=";
|
2020-10-07 09:15:18 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "entrypoint2" ];
|
|
|
|
|
2022-01-27 00:19:43 +00:00
|
|
|
checkInputs = [ EasyProcess pathpy pytestCheckHook ];
|
2020-10-07 09:15:18 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|