Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / clintermission / default.nix
blob9b439fa1608488da40848f2955733c0e798953b2
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pythonOlder
5 , prompt-toolkit
6 }:
8 buildPythonPackage rec {
9   pname = "clintermission";
10   version = "0.3.1";
11   format = "setuptools";
13   disabled = pythonOlder "3.7";
15   src = fetchFromGitHub {
16     owner = "sebageek";
17     repo = pname;
18     rev = "refs/tags/v${version}";
19     hash = "sha256-e7C9IDr+mhVSfU8lMywjX1BYwFo/qegPNzabak7UPcY=";
20   };
22   propagatedBuildInputs = [
23     prompt-toolkit
24   ];
26   # repo contains no tests
27   doCheck = false;
29   pythonImportsCheck = [
30     "clintermission"
31   ];
33   meta = with lib; {
34     description = "Non-fullscreen command-line selection menu";
35     homepage = "https://github.com/sebageek/clintermission";
36     changelog = "https://github.com/sebageek/clintermission/releases/tag/v${version}";
37     license = licenses.asl20;
38     maintainers = with maintainers; [ ];
39   };