mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 21:40:12 +00:00
48 lines
857 B
Nix
48 lines
857 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitLab,
|
|
cmake,
|
|
doxygen,
|
|
gitUpdater,
|
|
graphviz,
|
|
arpa2common,
|
|
arpa2cm,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "quickmem";
|
|
version = "1.0.0";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "arpa2";
|
|
repo = "Quick-MEM";
|
|
rev = "v${finalAttrs.version}";
|
|
hash = "sha256-I6WTBzY275a82YM+qsH9k2Zbb8SqAIF3qboxv9o3f4Q=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
doxygen
|
|
graphviz
|
|
];
|
|
|
|
buildInputs = [
|
|
arpa2cm
|
|
arpa2common
|
|
];
|
|
|
|
doCheck = true;
|
|
|
|
passthru.updateScript = gitUpdater { rev-prefix = "v"; };
|
|
|
|
meta = {
|
|
description = "Memory pooling for ARPA2 projects";
|
|
homepage = "https://gitlab.com/arpa2/Quick-MEM/";
|
|
license = lib.licenses.bsd2;
|
|
platforms = lib.platforms.linux;
|
|
teams = with lib.teams; [ ngi ];
|
|
maintainers = with lib.maintainers; [ leungbk ];
|
|
};
|
|
})
|