mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
kitti3: init at unstable-2021-09-11
This commit is contained in:
parent
6ef1311212
commit
249261f0dd
@ -0,0 +1,21 @@
|
|||||||
|
commit 410e98569c87469672086d4144f7ca0f2ee08fb7
|
||||||
|
Author: Michael Hoang <enzime@users.noreply.github.com>
|
||||||
|
Date: Sun May 21 00:13:37 2023 +1000
|
||||||
|
|
||||||
|
Allow project to be built with just `pip`
|
||||||
|
---
|
||||||
|
pyproject.toml | 4 ++++
|
||||||
|
1 file changed, 4 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/pyproject.toml b/pyproject.toml
|
||||||
|
index 10ed786..574e42a 100644
|
||||||
|
--- a/pyproject.toml
|
||||||
|
+++ b/pyproject.toml
|
||||||
|
@@ -1,3 +1,7 @@
|
||||||
|
+[build-system]
|
||||||
|
+requires = ["poetry-core"]
|
||||||
|
+build-backend = "poetry.core.masonry.api"
|
||||||
|
+
|
||||||
|
[tool.poetry]
|
||||||
|
name = "kitti3"
|
||||||
|
version = "0.5.1"
|
40
pkgs/applications/window-managers/i3/kitti3.nix
Normal file
40
pkgs/applications/window-managers/i3/kitti3.nix
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
{ buildPythonApplication
|
||||||
|
, fetchFromGitHub
|
||||||
|
, poetry-core
|
||||||
|
, i3ipc
|
||||||
|
, lib
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonApplication rec {
|
||||||
|
pname = "kitti3";
|
||||||
|
version = "unstable-2021-09-11";
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "LandingEllipse";
|
||||||
|
repo = pname;
|
||||||
|
rev = "f9f94c8b9f8b61a9d085206ada470cfe755a2a92";
|
||||||
|
hash = "sha256-bcIzbDpIe2GKS9EcVqpjwz0IG2ixNMn06OIQpZ7PeH0=";
|
||||||
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# Fixes `build-system` not being specified in `pyproject.toml`
|
||||||
|
# https://github.com/LandingEllipse/kitti3/pull/25
|
||||||
|
./kitti3-fix-build-system.patch
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
poetry-core
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
i3ipc
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://github.com/LandingEllipse/kitti3";
|
||||||
|
description = "Kitty drop-down service for sway & i3wm";
|
||||||
|
license = licenses.bsd3;
|
||||||
|
maintainers = with maintainers; [ Enzime ];
|
||||||
|
};
|
||||||
|
}
|
@ -31424,6 +31424,8 @@ with pkgs;
|
|||||||
|
|
||||||
i3-wk-switch = callPackage ../applications/window-managers/i3/wk-switch.nix { };
|
i3-wk-switch = callPackage ../applications/window-managers/i3/wk-switch.nix { };
|
||||||
|
|
||||||
|
kitti3 = python3.pkgs.callPackage ../applications/window-managers/i3/kitti3.nix { };
|
||||||
|
|
||||||
waybox = callPackage ../applications/window-managers/waybox { };
|
waybox = callPackage ../applications/window-managers/waybox { };
|
||||||
|
|
||||||
workstyle = callPackage ../applications/window-managers/i3/workstyle.nix { };
|
workstyle = callPackage ../applications/window-managers/i3/workstyle.nix { };
|
||||||
|
Loading…
Reference in New Issue
Block a user