about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/misc/raiseorlaunch/default.nix
blob: 9c5f35be9a9e5ce7f2317a85fa9a80eb72ca4149 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ lib, python3Packages, fetchPypi }:

python3Packages.buildPythonApplication rec {
  pname = "raiseorlaunch";
  version = "2.3.5";

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-L/hu0mYCAxHkp5me96a6HlEY6QsuJDESpTNhlzVRHWs=";
  };

  nativeBuildInputs = [ python3Packages.setuptools-scm ];
  pythonPath = with python3Packages; [ i3ipc ];

  # no tests
  doCheck = false;
  pythonImportsCheck = [ "raiseorlaunch" ];

  meta = with lib; {
    maintainers = with maintainers; [ winpat ];
    description = "A run-or-raise-application-launcher for i3 window manager";
    homepage = "https://github.com/open-dynaMIX/raiseorlaunch";
    license = licenses.mit;
    platforms = platforms.linux;
  };
}