nixpkgs/pkgs/by-name/st/stacktile/package.nix
Anderson Torres f0e64ce16f treewide: migrate packages maintained by AndersonTorres to by-name
Manual migration for the sake of by-name migration is no longer discouraged
since #340235.
2024-09-16 14:26:47 -03:00

44 lines
898 B
Nix

{ lib
, stdenv
, fetchFromSourcehut
, wayland
, wayland-scanner
}:
stdenv.mkDerivation (finalAttrs: {
pname = "stacktile";
version = "1.0.0";
src = fetchFromSourcehut {
owner = "~leon_plickat";
repo = "stacktile";
rev = "v${finalAttrs.version}";
hash = "sha256-IOFxgYMjh92jx2CPfBRZDL/1ucgfHtUyAL5rS2EG+Gc=";
};
outputs = [ "out" "man" ];
nativeBuildInputs = [
wayland-scanner
];
buildInputs = [
wayland
];
makeFlags = [
"PREFIX=${placeholder "out"}"
"MANDIR=${placeholder "man"}/share/man"
];
strictDeps = true;
meta = {
homepage = "https://sr.ht/~leon_plickat/stacktile/";
description = "Layout generator for the river Wayland compositor";
license = with lib.licenses; [ gpl3Plus ];
mainProgram = "stacktile";
maintainers = with lib.maintainers; [ AndersonTorres ];
platforms = lib.platforms.linux;
};
})