2023-05-25 15:07:31 +01:00
|
|
|
{ lib, python3Packages, fetchPypi }:
|
2019-10-21 11:41:24 +01:00
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "raiseorlaunch";
|
2024-01-11 17:53:06 +00:00
|
|
|
version = "2.3.5";
|
2019-10-21 11:41:24 +01:00
|
|
|
|
2023-05-25 15:07:31 +01:00
|
|
|
src = fetchPypi {
|
2019-10-21 11:41:24 +01:00
|
|
|
inherit pname version;
|
2024-07-13 17:25:56 +01:00
|
|
|
hash = "sha256-L/hu0mYCAxHkp5me96a6HlEY6QsuJDESpTNhlzVRHWs=";
|
2019-10-21 11:41:24 +01:00
|
|
|
};
|
|
|
|
|
2021-06-03 11:09:11 +01:00
|
|
|
nativeBuildInputs = [ python3Packages.setuptools-scm ];
|
2019-10-21 11:41:24 +01:00
|
|
|
pythonPath = with python3Packages; [ i3ipc ];
|
|
|
|
|
2021-01-07 10:40:32 +00:00
|
|
|
# no tests
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "raiseorlaunch" ];
|
|
|
|
|
2019-10-21 11:41:24 +01:00
|
|
|
meta = with lib; {
|
|
|
|
maintainers = with maintainers; [ winpat ];
|
|
|
|
description = "Run-or-raise-application-launcher for i3 window manager";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "raiseorlaunch";
|
2019-10-21 11:41:24 +01:00
|
|
|
homepage = "https://github.com/open-dynaMIX/raiseorlaunch";
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|