1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-04 19:45:54 +00:00
nixpkgs/pkgs/servers/ursadb/default.nix

37 lines
799 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, cmake, zeromq, cppzmq }:
2020-03-31 23:54:17 +01:00
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 lib; {
2020-03-31 23:54:17 +01:00
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;
2020-11-27 22:19:16 +00:00
broken = stdenv.isDarwin;
2020-03-31 23:54:17 +01:00
};
}