1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-17 02:14:36 +00:00
nixpkgs/pkgs/development/libraries/bobcat/default.nix
Michael Raskin 83992fd7c6
bisoncpp: init (#103316)
* bobcat: 4.08.03 -> 5.05.00; switch homepage

* bisoncpp: init at 6.04.00

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2020-11-11 18:20:39 +00:00

45 lines
952 B
Nix

{ stdenv, fetchFromGitLab, icmake
, libmilter, libX11, openssl, readline
, utillinux, yodl }:
stdenv.mkDerivation rec {
pname = "bobcat";
version = "5.05.00";
src = fetchFromGitLab {
sha256 = "sha256:14lvxzkxmkk54s97ah996m6s1wbw1g3iwawbhsf8qw7sf75vlp1h";
domain = "gitlab.com";
rev = version;
repo = "bobcat";
owner = "fbb-git";
};
buildInputs = [ libmilter libX11 openssl readline utillinux ];
nativeBuildInputs = [ icmake yodl ];
setSourceRoot = ''
sourceRoot=$(echo */bobcat)
'';
postPatch = ''
substituteInPlace INSTALL.im --replace /usr $out
patchShebangs .
'';
buildPhase = ''
./build libraries all
./build man
'';
installPhase = ''
./build install x
'';
meta = with stdenv.lib; {
description = "Brokken's Own Base Classes And Templates";
homepage = "https://fbb-git.gitlab.io/bobcat/";
license = licenses.gpl3;
platforms = platforms.linux;
};
}