2023-07-15 17:15:38 +00:00
|
|
|
{ lib, python3Packages, fetchPypi }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "raiseorlaunch";
|
2024-01-13 08:15:51 +00:00
|
|
|
version = "2.3.5";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
src = fetchPypi {
|
2020-04-24 23:36:52 +00:00
|
|
|
inherit pname version;
|
2024-01-13 08:15:51 +00:00
|
|
|
sha256 = "sha256-L/hu0mYCAxHkp5me96a6HlEY6QsuJDESpTNhlzVRHWs=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-06-04 09:07:49 +00:00
|
|
|
nativeBuildInputs = [ python3Packages.setuptools-scm ];
|
2020-04-24 23:36:52 +00:00
|
|
|
pythonPath = with python3Packages; [ i3ipc ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
# no tests
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "raiseorlaunch" ];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = with lib; {
|
|
|
|
maintainers = with maintainers; [ winpat ];
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Run-or-raise-application-launcher for i3 window manager";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "raiseorlaunch";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/open-dynaMIX/raiseorlaunch";
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|