depot/pkgs/by-name/wi/wideriver/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

40 lines
840 B
Nix

{
stdenv,
fetchFromGitHub,
lib,
wayland,
wayland-scanner,
pkg-config,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "wideriver";
version = "1.2.0";
src = fetchFromGitHub {
owner = "alex-courtis";
repo = "wideriver";
rev = "refs/tags/${finalAttrs.version}";
hash = "sha256-D1JHfMnq6u057FrBqgZ4UlfeOlkTWKkKzFYM29+vIJo=";
};
nativeBuildInputs = [
pkg-config
wayland-scanner
];
buildInputs = [
wayland
];
installFlags = [ "PREFIX=$(out)" ];
meta = {
description = "Tiling window manager for the river wayland compositor, inspired by dwm and xmonad";
homepage = "https://github.com/alex-courtis/wideriver";
license = lib.licenses.gpl3Only;
mainProgram = "wideriver";
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ clebs ];
};
})