3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/openbsm/default.nix

25 lines
677 B
Nix
Raw Normal View History

2018-04-11 03:14:56 +01:00
{ stdenv, fetchFromGitHub, lib }:
stdenv.mkDerivation rec {
pname = "openbsm";
version = "1.1";
src = fetchFromGitHub {
owner = pname;
repo = pname;
2019-09-09 00:38:31 +01:00
rev = lib.toUpper (builtins.replaceStrings ["." "-"] ["_" "_"] "${pname}-${version}");
2018-04-11 03:14:56 +01:00
sha256 = "0b98359hd8mm585sh145ss828pg2y8vgz38lqrb7nypapiyqdnd1";
};
patches = lib.optional stdenv.isDarwin [ ./bsm-add-audit_token_to_pid.patch ];
configureFlags = [ "ac_cv_file__usr_include_mach_audit_triggers_defs=no" ];
2018-04-11 03:14:56 +01:00
meta = {
homepage = http://www.openbsm.org/;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ matthewbauer ];
2018-08-09 11:33:28 +01:00
license = lib.licenses.bsd2;
2018-04-11 03:14:56 +01:00
};
}