depot/third_party/nixpkgs/pkgs/by-name/wi/wideriver/package.nix

41 lines
840 B
Nix
Raw Normal View History

{
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 ];
};
})