diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2021-07-20 13:28:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-20 13:28:46 +0200 |
commit | 915a8aac334756ade33d4a44d73eb3870f7467be (patch) | |
tree | ce63897738bb18f29c302de3d6e3d7d2af2267a0 /pkgs/tools/security | |
parent | ffcf63dfef9107f9d8f9c7761c402cae034faa2b (diff) | |
parent | aef1db45b33d88bf0cb4f9f997dc34b67e3bd210 (diff) | |
download | nixpkgs-915a8aac334756ade33d4a44d73eb3870f7467be.tar nixpkgs-915a8aac334756ade33d4a44d73eb3870f7467be.tar.gz nixpkgs-915a8aac334756ade33d4a44d73eb3870f7467be.tar.bz2 nixpkgs-915a8aac334756ade33d4a44d73eb3870f7467be.tar.lz nixpkgs-915a8aac334756ade33d4a44d73eb3870f7467be.tar.xz nixpkgs-915a8aac334756ade33d4a44d73eb3870f7467be.tar.zst nixpkgs-915a8aac334756ade33d4a44d73eb3870f7467be.zip |
Merge pull request #130756 from SuperSandro2000/SuperSandro2000-patch-1
ossec: convert to pname + version; cleanup
Diffstat (limited to 'pkgs/tools/security')
-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 89c71d8ffc7..b86cb57bbde 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"; }; @@ -28,11 +28,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; }; } |