From 836a4c5918eea73408d981b250613a48ce55c5e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sat, 3 Feb 2024 10:19:14 -0800 Subject: [PATCH] libleidenalg: init at 0.11.1 --- pkgs/by-name/li/libleidenalg/package.nix | 35 ++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 pkgs/by-name/li/libleidenalg/package.nix diff --git a/pkgs/by-name/li/libleidenalg/package.nix b/pkgs/by-name/li/libleidenalg/package.nix new file mode 100644 index 000000000000..75cdd34efa0f --- /dev/null +++ b/pkgs/by-name/li/libleidenalg/package.nix @@ -0,0 +1,35 @@ +{ lib +, stdenv +, fetchFromGitHub +, cmake +, igraph +}: + +stdenv.mkDerivation rec { + pname = "libleidenalg"; + version = "0.11.1"; + + src = fetchFromGitHub { + owner = "vtraag"; + repo = "libleidenalg"; + rev = "refs/tags/${version}"; + hash = "sha256-hEES/OHvgN0yRDp5ZBZTCQfWr1j7s8NqE+Sp9WMHEEY="; + }; + + nativeBuildInputs = [ + cmake + ]; + + buildInputs = [ + igraph + ]; + + meta = { + changelog = "https://github.com/vtraag/libleidenalg/blob/${version}/CHANGELOG"; + description = "C++ library of Leiden algorithm"; + homepage = "https://github.com/vtraag/libleidenalg"; + license = lib.licenses.gpl3Plus; + maintainers = with lib.maintainers; [ dotlambda ]; + platforms = lib.platforms.all; + }; +}