Files
nixpkgs/pkgs/by-name/bo/bobcat/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

74 lines
1.1 KiB
Nix

{
lib,
stdenv,
fetchFromGitLab,
icmake,
yodl,
libmilter,
libX11,
openssl,
readline,
util-linux,
}:
stdenv.mkDerivation rec {
pname = "bobcat";
version = "5.11.01";
src = fetchFromGitLab {
domain = "gitlab.com";
owner = "fbb-git";
repo = "bobcat";
tag = version;
hash = "sha256-JLJKaJmztputIon9JkKzpm3Ch60iwm4Imh9p42crYzA=";
};
sourceRoot = "${src.name}/bobcat";
postPatch = ''
substituteInPlace INSTALL.im \
--replace "/usr" "$out"
sed -i "6i #include <cstdint>" logbuf/logbuf
patchShebangs .
'';
strictDeps = true;
nativeBuildInputs = [
icmake
yodl
];
buildInputs = [
libmilter
libX11
openssl
readline
util-linux
];
buildPhase = ''
runHook preBuild
./build libraries all
./build man
runHook postBuild
'';
installPhase = ''
runHook preInstall
./build install x
runHook postInstall
'';
meta = with lib; {
description = "Brokken's Own Base Classes And Templates";
homepage = "https://fbb-git.gitlab.io/bobcat/";
license = licenses.gpl3Only;
platforms = platforms.linux;
};
}