nixpkgs/pkgs/by-name/ka/katriawm/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

46 lines
915 B
Nix
Raw Normal View History

2022-12-15 23:47:11 +00:00
{ lib
, stdenv
, fetchzip
, libX11
, libXft
, libXrandr
, pkg-config
}:
2023-04-16 20:48:25 +00:00
stdenv.mkDerivation (finalAttrs: {
2022-12-15 23:47:11 +00:00
pname = "katriawm";
2023-09-16 23:45:53 +00:00
version = "23.08";
2022-12-15 23:47:11 +00:00
src = fetchzip {
2023-04-16 20:48:25 +00:00
url = "https://www.uninformativ.de/git/katriawm/archives/katriawm-v${finalAttrs.version}.tar.gz";
2023-09-16 23:45:53 +00:00
hash = "sha256-IWviLboZz421/Amz/QG4o8jYaG8Y/l5PvmvXfK5nzJE=";
2022-12-15 23:47:11 +00:00
};
2023-09-16 23:45:53 +00:00
sourceRoot = "${finalAttrs.src.name}/src";
2022-12-15 23:47:11 +00:00
nativeBuildInputs = [
pkg-config
];
buildInputs = [
libX11
libXft
libXrandr
];
2023-09-16 23:45:53 +00:00
outputs = [ "out" "man" ];
strictDeps = true;
2022-12-15 23:47:11 +00:00
installFlags = [ "prefix=$(out)" ];
2023-02-12 21:08:57 +00:00
meta = {
2022-12-15 23:47:11 +00:00
homepage = "https://www.uninformativ.de/git/katriawm/file/README.html";
description = "A non-reparenting, dynamic window manager with decorations";
2023-02-12 21:08:57 +00:00
license = lib.licenses.mit;
2023-09-16 23:45:53 +00:00
mainProgram = "katriawm";
2023-02-12 21:08:57 +00:00
maintainers = [ lib.maintainers.AndersonTorres ];
2022-12-15 23:47:11 +00:00
inherit (libX11.meta) platforms;
};
})