nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 prompt-toolkit,
6}:
7
8buildPythonPackage rec {
9 pname = "clintermission";
10 version = "0.3.1";
11 format = "setuptools";
12
13 src = fetchFromGitHub {
14 owner = "sebageek";
15 repo = "clintermission";
16 tag = "v${version}";
17 hash = "sha256-e7C9IDr+mhVSfU8lMywjX1BYwFo/qegPNzabak7UPcY=";
18 };
19
20 propagatedBuildInputs = [ prompt-toolkit ];
21
22 # repo contains no tests
23 doCheck = false;
24
25 pythonImportsCheck = [ "clintermission" ];
26
27 meta = {
28 description = "Non-fullscreen command-line selection menu";
29 homepage = "https://github.com/sebageek/clintermission";
30 changelog = "https://github.com/sebageek/clintermission/releases/tag/v${version}";
31 license = lib.licenses.asl20;
32 maintainers = [ ];
33 };
34}