From 43fe1cb0dcf6d95ed0aeb8b8df2dbcdf97e698ef Mon Sep 17 00:00:00 2001 From: Brian Leung Date: Fri, 29 Jul 2022 20:05:45 -0700 Subject: [PATCH] quickmem: init at 0.3.0 --- .../libraries/quickmem/default.nix | 42 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 44 insertions(+) create mode 100644 pkgs/development/libraries/quickmem/default.nix diff --git a/pkgs/development/libraries/quickmem/default.nix b/pkgs/development/libraries/quickmem/default.nix new file mode 100644 index 000000000000..60ea330dc014 --- /dev/null +++ b/pkgs/development/libraries/quickmem/default.nix @@ -0,0 +1,42 @@ +{ lib +, stdenv +, fetchFromGitLab +, cmake +, doxygen +, graphviz +, arpa2common +, arpa2cm +}: + +stdenv.mkDerivation rec { + pname = "quickmem"; + version = "0.3.0"; + + src = fetchFromGitLab { + owner = "arpa2"; + repo = "Quick-MEM"; + rev = "v${version}"; + sha256 = "sha256-cqg8QN4/I+zql7lVDDAgFA05Dmg4ylBTvPSPP7WATdc="; + }; + + nativeBuildInputs = [ + cmake + doxygen + graphviz + ]; + + buildInputs = [ + arpa2cm + arpa2common + ]; + + doCheck = true; + + meta = with lib; { + description = "Memory pooling for ARPA2 projects"; + homepage = "https://gitlab.com/arpa2/Quick-MEM/"; + license = licenses.bsd2; + platforms = platforms.linux; + maintainers = with maintainers; [ leungbk ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 3b86d2dc01de..811b46717cb9 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -20809,6 +20809,8 @@ with pkgs; quickder = callPackage ../development/libraries/quickder {}; + quickmem = callPackage ../development/libraries/quickmem {}; + quicksynergy = callPackage ../applications/misc/quicksynergy { }; quill = callPackage ../tools/security/quill {