diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2021-07-20 12:51:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-20 12:51:09 +0200 |
commit | aef1db45b33d88bf0cb4f9f997dc34b67e3bd210 (patch) | |
tree | 1774dc5e5c2d0658033e89c715702b27f36f98a8 /pkgs/tools/security/ossec/default.nix | |
parent | 5803b41b0cab22c564e279b0e053b2b71ab22158 (diff) |
ossec: convert to pname + version; cleanup
Diffstat (limited to 'pkgs/tools/security/ossec/default.nix')
-rw-r--r-- | pkgs/tools/security/ossec/default.nix | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/pkgs/tools/security/ossec/default.nix b/pkgs/tools/security/ossec/default.nix index 22374e1d302b2..8f38dd20f1661 100644 --- a/pkgs/tools/security/ossec/default.nix +++ b/pkgs/tools/security/ossec/default.nix @@ -1,11 +1,11 @@ { lib, stdenv, fetchurl, which }: -stdenv.mkDerivation { - name = "ossec-client-2.6"; +stdenv.mkDerivation rec { + pname = "ossec-client"; + version = "2.6"; src = fetchurl { - url = "https://www.ossec.net/files/ossec-hids-2.6.tar.gz"; - + url = "https://www.ossec.net/files/ossec-hids-${version}.tar.gz"; sha256 = "0k1b59wdv9h50gbyy88qw3cnpdm8hv0nrl0znm92h9a11i5b39ip"; }; @@ -30,11 +30,12 @@ yes " | ./install.sh ''; - meta = { + meta = with lib; { description = "Open source host-based instrusion detection system"; homepage = "https://www.ossec.net"; - license = lib.licenses.gpl2; - platforms = lib.platforms.linux; + license = licenses.gpl2; + maintainers = with maintainers; [ ]; + platforms = platforms.linux; }; } |