diff options
author | msm <msm@cert.pl> | 2020-04-01 00:54:17 +0200 |
---|---|---|
committer | msm <msm@tailcall.net> | 2020-04-03 11:29:05 +0200 |
commit | 5160beb88661da6f1876ea9685631f2e47a84008 (patch) | |
tree | 8ae54beb17ed38588d9e273e5aed5052f41c2bce /pkgs/servers/ursadb/default.nix | |
parent | 0a7c10f701c27ee05e4fe274e7f004428ceed06f (diff) |
ursadb: init at v1.2.0
Diffstat (limited to 'pkgs/servers/ursadb/default.nix')
-rw-r--r-- | pkgs/servers/ursadb/default.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/servers/ursadb/default.nix b/pkgs/servers/ursadb/default.nix new file mode 100644 index 0000000000000..8a2f768443f58 --- /dev/null +++ b/pkgs/servers/ursadb/default.nix @@ -0,0 +1,35 @@ +{ stdenv, fetchurl, cmake, zeromq, cppzmq }: + +stdenv.mkDerivation { + name = "ursadb"; + version = "1.2.0"; + + src = fetchurl { + url = "https://github.com/CERT-Polska/ursadb/archive/v1.2.0.tar.gz"; + sha256 = "10dax3mswq0x4cfrpi31b7ii7bxl536wz1j11b7f5c0zw9pjxzym"; + }; + + installPhase = '' + mkdir -p $out/bin + cp ursadb $out/bin/ + cp ursadb_new $out/bin/ + cp ursadb_trim $out/bin/ + ''; + + nativeBuildInputs = [ + cmake + ]; + + buildInputs = [ + zeromq + cppzmq + ]; + + meta = with stdenv.lib; { + homepage = "https://github.com/CERT-Polska/ursadb"; + description = "Trigram database written in C++, suited for malware indexing"; + license = licenses.bsd3; + maintainers = with maintainers; [ msm ]; + platforms = platforms.unix; + }; +} |