git.iko.soy/typeable/nixpkgs
on master help sign in
ossec: convert to pname + version; cleanup
commitaef1db45b33d88bf0cb4f9f997dc34b67e3bd210 authorSandro <sandro.jaeckel@gmail.com> dateTue 20 Jul 2021, 12:51 (5 years ago) parent5803b41
1 file changed+8−7
pkgs/tools/security/ossec/default.nix+8−7
pkgs/tools/security/ossec/default.nix+8−7
@@ -1,11 +1,11 @@
11{ lib, stdenv, fetchurl, which }:
22
3−stdenv.mkDerivation {
4− name = "ossec-client-2.6";
3+stdenv.mkDerivation rec {
4+ pname = "ossec-client";
5+ version = "2.6";
56
67 src = fetchurl {
7− url = "https://www.ossec.net/files/ossec-hids-2.6.tar.gz";
8−
8+ url = "https://www.ossec.net/files/ossec-hids-${version}.tar.gz";
99 sha256 = "0k1b59wdv9h50gbyy88qw3cnpdm8hv0nrl0znm92h9a11i5b39ip";
1010 };
1111
@@ -30,11 +30,12 @@ yes
3030" | ./install.sh
3131 '';
3232
33− meta = {
33+ meta = with lib; {
3434 description = "Open source host-based instrusion detection system";
3535 homepage = "https://www.ossec.net";
36− license = lib.licenses.gpl2;
37− platforms = lib.platforms.linux;
36+ license = licenses.gpl2;
37+ maintainers = with maintainers; [ ];
38+ platforms = platforms.linux;
3839 };
3940}
4041