depot/third_party/nixpkgs/pkgs/development/python-modules/clintermission/default.nix
Default email cf3f6e7a7d Project import generated by Copybara.
GitOrigin-RevId: 24eb3f87fc610f18de7076aee7c5a84ac5591e3e
2020-11-30 09:33:03 +01:00

29 lines
725 B
Nix

{ lib, buildPythonApplication, fetchFromGitHub, isPy3k, prompt_toolkit }:
buildPythonApplication rec {
pname = "clintermission";
version = "0.2.0";
src = fetchFromGitHub {
owner = "sebageek";
repo = pname;
rev = "v${version}";
sha256 = "09wl0rpw6c9hab51rs957z64b0v9j4fcbqbn726wnapf4z5w6yxv";
};
propagatedBuildInputs = [ prompt_toolkit ];
disabled = !isPy3k;
# repo contains no tests
doCheck = false;
pythonImportsCheck = [ "clintermission" ];
meta = with lib; {
description = "Non-fullscreen command-line selection menu";
homepage = "https://github.com/sebageek/clintermission";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}