1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/libraries/openbsm/default.nix
2019-09-08 23:38:31 +00:00

25 lines
677 B
Nix

{ stdenv, fetchFromGitHub, lib }:
stdenv.mkDerivation rec {
pname = "openbsm";
version = "1.1";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = lib.toUpper (builtins.replaceStrings ["." "-"] ["_" "_"] "${pname}-${version}");
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" ];
meta = {
homepage = http://www.openbsm.org/;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ matthewbauer ];
license = lib.licenses.bsd2;
};
}