summary refs log tree commit diff
path: root/pkgs/development/libraries/openbsm/default.nix
blob: 9f75bff40e9a585037362a6e8756f4f6ddc1347b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ 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 ];
  };
}