nixos-config/pkgs/ianny/default.nix

26 lines
650 B
Nix

{ rustPlatform, fetchFromGitHub, lib, ninja, dbus, pkg-config }:
rustPlatform.buildRustPackage rec {
pname = "ianny";
version = "unstable-2023-12-16";
src = fetchFromGitHub {
owner = "zefr0x";
repo = pname;
rev = "v2.0.0";
hash = "sha256-F8Uc2BsQ5f7yaUXXDhLvyyYKUDAuvP9cCR2h3vblr0g=";
};
cargoHash = "sha256-6rcibPoO5EQcT8HGgHge/4wrXyBA9JCk4+aiCFz+kXM=";
buildInputs = [
dbus
ninja
];
nativeBuildInputs = [
pkg-config
];
meta = with lib; {
description = "Wayland break timer";
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ therealr5 ];
};
}