depot/third_party/nixpkgs/pkgs/applications/window-managers/hackedbox/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

63 lines
1 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;
};
})