2018-04-11 04:14:56 +02:00
|
|
|
{ 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";
|
|
|
|
};
|
|
|
|
|
2018-05-11 11:35:42 +02:00
|
|
|
patches = [ ./bsm-add-audit_token_to_pid.patch ];
|
|
|
|
|
2018-04-11 04:14:56 +02:00
|
|
|
meta = {
|
|
|
|
homepage = http://www.openbsm.org/;
|
|
|
|
platforms = lib.platforms.unix;
|
|
|
|
maintainers = with lib.maintainers; [ matthewbauer ];
|
2018-08-09 12:33:28 +02:00
|
|
|
license = lib.licenses.bsd2;
|
2018-04-11 04:14:56 +02:00
|
|
|
};
|
|
|
|
}
|