nixpkgs/pkgs/development/libraries/bobcat/default.nix
R. RyanTM c24d836387 bobcat: 4.07.00 -> 4.08.03
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/bobcat/versions.

These checks were done:

- built on NixOS
- Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
- found 4.08.03 with grep in /nix/store/dqhrp35b4vijwd6k77is0ma96vq9arwj-bobcat-4.08.03
- directory tree listing: https://gist.github.com/d768d97dc8cf8403bf62c2981e533bed
2018-05-12 15:17:21 +02:00

44 lines
926 B
Nix

{ stdenv, fetchFromGitHub, icmake
, libmilter, libX11, openssl, readline
, utillinux, yodl }:
stdenv.mkDerivation rec {
name = "bobcat-${version}";
version = "4.08.03";
src = fetchFromGitHub {
sha256 = "163mdl8hxids7123bjxmqhcaqyc1dv7hv8k33s713ac6lzawarq2";
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.github.io/bobcat/;
license = licenses.gpl3;
platforms = platforms.linux;
};
}