diff options
author | willswats <willswats@users.noreply.github.com> | 2023-09-02 22:41:56 +0100 |
---|---|---|
committer | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-09-11 14:53:16 +0000 |
commit | 45715a7dc7ebc4d0b2a43360e3c9fddfe6f459f8 (patch) | |
tree | cd60a8feab247e93d28ded4f797fa72071339b9f | |
parent | abd6bdbfdd261d90d9015e3f9aab0f1e0a780c79 (diff) | |
download | nixpkgs-45715a7dc7ebc4d0b2a43360e3c9fddfe6f459f8.tar nixpkgs-45715a7dc7ebc4d0b2a43360e3c9fddfe6f459f8.tar.gz nixpkgs-45715a7dc7ebc4d0b2a43360e3c9fddfe6f459f8.tar.bz2 nixpkgs-45715a7dc7ebc4d0b2a43360e3c9fddfe6f459f8.tar.lz nixpkgs-45715a7dc7ebc4d0b2a43360e3c9fddfe6f459f8.tar.xz nixpkgs-45715a7dc7ebc4d0b2a43360e3c9fddfe6f459f8.tar.zst nixpkgs-45715a7dc7ebc4d0b2a43360e3c9fddfe6f459f8.zip |
hyprshade: init v0.9.3
-rw-r--r-- | pkgs/applications/window-managers/hyprwm/hyprshade/default.nix | 34 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/applications/window-managers/hyprwm/hyprshade/default.nix b/pkgs/applications/window-managers/hyprwm/hyprshade/default.nix new file mode 100644 index 00000000000..0a700a52573 --- /dev/null +++ b/pkgs/applications/window-managers/hyprwm/hyprshade/default.nix @@ -0,0 +1,34 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, pdm-backend +, more-itertools +, click +}: + +buildPythonPackage rec { + pname = "hyprshade"; + version = "0.9.3"; + format = "pyproject"; + + src = fetchFromGitHub { + owner = "loqusion"; + repo = "hyprshade"; + rev = "refs/tags/v${version}"; + hash = "sha256-ou072V9nZUqf5DEolkMQy979SjaZs4iOuoszw50k4Y8="; + }; + + nativeBuildInputs = [ + pdm-backend + ]; + + propagatedBuildInputs = [ more-itertools click ]; + + meta = with lib; { + homepage = "https://github.com/loqusion/hyprshade"; + description = "Hyprland shade configuration tool"; + license = licenses.mit; + maintainers = with maintainers; [ willswats ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d11c6543d5e..7450ba83573 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5699,6 +5699,8 @@ with pkgs; wlroots = wlroots_0_15; }; + hyprshade = python311Packages.callPackage ../applications/window-managers/hyprwm/hyprshade { }; + hysteria = callPackage ../tools/networking/hysteria { }; hyx = callPackage ../tools/text/hyx { }; |