nixpkgs/pkgs/development/libraries/openbsm/default.nix
Matthew Bauer 79dcdce633 openbsm: add audit_token_to_pid symbol
This is needed by some projects like Chromium that use openbsm/libbsm.
2018-05-11 04:39:57 -05:00

23 lines
556 B
Nix

{ stdenv, fetchFromGitHub, lib }:
stdenv.mkDerivation rec {
pname = "openbsm";
name = "${pname}-${version}";
version = "1.1";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "${lib.toUpper (builtins.replaceStrings ["." "-"] ["_" "_"] name)}";
sha256 = "0b98359hd8mm585sh145ss828pg2y8vgz38lqrb7nypapiyqdnd1";
};
patches = [ ./bsm-add-audit_token_to_pid.patch ];
meta = {
homepage = http://www.openbsm.org/;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ matthewbauer ];
};
}