Merge pull request #130756 from SuperSandro2000/SuperSandro2000-patch-1

ossec: convert to pname + version; cleanup
wip/nixpkgs-raku
Sandro 3 years ago committed by GitHub
commit 915a8aac33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 15
      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;
};
}

Loading…
Cancel
Save