depot/third_party/nixpkgs/pkgs/applications/window-managers/hyprwm/hyprshade/default.nix

35 lines
709 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchFromGitHub
, hatchling
, more-itertools
, click
}:
buildPythonPackage rec {
pname = "hyprshade";
version = "0.12.1";
format = "pyproject";
src = fetchFromGitHub {
owner = "loqusion";
repo = "hyprshade";
rev = "refs/tags/${version}";
hash = "sha256-xcFX1YApwEN40jPgRT0H/7SiODxXGYVTPUkSZ8OFIWs=";
};
nativeBuildInputs = [
hatchling
];
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;
};
}