2022-08-08 04:16:10 +00:00
|
|
|
{
|
|
|
|
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
|
|
|
|
];
|
|
|
|
|
2024-04-29 01:30:35 +00:00
|
|
|
CXXFLAGS = "-std=c++98";
|
|
|
|
|
2022-08-08 04:16:10 +00:00
|
|
|
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";
|
2023-01-21 21:41:12 +00:00
|
|
|
homepage = "https://github.com/museoa/hackedbox/";
|
2022-08-08 04:16:10 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ AndersonTorres ];
|
|
|
|
inherit (libX11.meta) platforms;
|
|
|
|
};
|
|
|
|
})
|