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

ossec: convert to pname + version; cleanup
This commit is contained in:
Sandro 2021-07-20 13:28:46 +02:00 committed by GitHub
commit 915a8aac33
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
};
}