nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, buildPythonPackage, fetchPypi, EasyProcess, path, pytestCheckHook }:
2
3buildPythonPackage rec {
4 pname = "entrypoint2";
5 version = "1.0";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "sha256-Z+kG9q2VjYP0i07ewo192CZw6SYZiPa0prY6vJ+zvlY=";
10 };
11
12 pythonImportsCheck = [ "entrypoint2" ];
13
14 checkInputs = [ EasyProcess path pytestCheckHook ];
15
16 meta = with lib; {
17 description = "Easy to use command-line interface for python modules";
18 homepage = "https://github.com/ponty/entrypoint2/";
19 license = licenses.bsd2;
20 maintainers = with maintainers; [ austinbutler ];
21 };
22}