nixpkgs/pkgs/applications/window-managers/hackedbox/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

64 lines
1.0 KiB
Nix

{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, freetype
, fribidi
, imlib2
, libX11
, libXext
, libXft
, libXinerama
, libXpm
, libXrandr
, libXrender
, pkg-config
, xorgproto
}:
stdenv.mkDerivation (finalAttrs: {
pname = "hackedbox";
version = "0.8.5.1";
src = fetchFromGitHub {
owner = "museoa";
repo = "hackedbox";
rev = finalAttrs.version;
hash = "sha256-hxfbEj7UxQ19xhetmdi0iyK6ceLUfUvAAyyTbNivlLQ=";
};
nativeBuildInputs = [
autoreconfHook
pkg-config
];
CXXFLAGS = "-std=c++98";
buildInputs = [
freetype
fribidi
imlib2
libX11
libXext
libXft
libXinerama
libXpm
libXrandr
libXrender
xorgproto
];
configureFlags = [
"--x-includes=${libX11.dev}/include"
"--x-libraries=${libX11.out}/lib"
];
meta = with lib; {
description = "Bastard hacked offspring of Blackbox";
homepage = "https://github.com/museoa/hackedbox/";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ AndersonTorres ];
inherit (libX11.meta) platforms;
};
})