nixpkgs/pkgs/applications/misc/raiseorlaunch/default.nix
2024-01-11 17:53:06 +00:00

26 lines
717 B
Nix

{ 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;
};
}