depot/third_party/nixpkgs/pkgs/applications/misc/raiseorlaunch/default.nix
Default email e7ec2969af Project import generated by Copybara.
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
2024-01-13 09:15:51 +01: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;
};
}