Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 44 lines 944 B view raw
1{ lib, stdenv, fetchFromGitLab, icmake 2, libmilter, libX11, openssl, readline 3, util-linux, yodl }: 4 5stdenv.mkDerivation rec { 6 pname = "bobcat"; 7 version = "5.11.01"; 8 9 src = fetchFromGitLab { 10 sha256 = "sha256-JLJKaJmztputIon9JkKzpm3Ch60iwm4Imh9p42crYzA="; 11 domain = "gitlab.com"; 12 rev = version; 13 repo = "bobcat"; 14 owner = "fbb-git"; 15 }; 16 17 buildInputs = [ libmilter libX11 openssl readline util-linux ]; 18 nativeBuildInputs = [ icmake yodl ]; 19 20 setSourceRoot = '' 21 sourceRoot=$(echo */bobcat) 22 ''; 23 24 postPatch = '' 25 substituteInPlace INSTALL.im --replace /usr $out 26 patchShebangs . 27 ''; 28 29 buildPhase = '' 30 ./build libraries all 31 ./build man 32 ''; 33 34 installPhase = '' 35 ./build install x 36 ''; 37 38 meta = with lib; { 39 description = "Brokken's Own Base Classes And Templates"; 40 homepage = "https://fbb-git.gitlab.io/bobcat/"; 41 license = licenses.gpl3; 42 platforms = platforms.linux; 43 }; 44}