Skip to content

Commit

Permalink
kumi: init at 3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
foolnotion committed Nov 11, 2024
1 parent 871d430 commit 071fcf7
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions pkgs/kumi/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{ lib, stdenv, fetchFromGitHub, cmake, cpm-cmake, copacabana }:

stdenv.mkDerivation rec {
pname = "kumi";
version = "3.1";

src = fetchFromGitHub {
owner = "jfalcou";
repo = "kumi";
rev = "v${version}";
hash = "sha256-9/l5GcnLRgSUq4RG7w7dzWmvpk2Z2FKJChiu6668qXo=";
};

nativeBuildInputs = [ cmake cpm-cmake ];

preConfigure = ''
mkdir cmake/cpm
cp ${cpm-cmake}/share/cpm/CPM.cmake cmake/cpm/CPM_${cpm-cmake.version}.cmake
'';

cmakeFlags = [
"-DCPM_SOURCE_CACHE=./cmake"
"-DKUMI_BUILD_TEST=0"
"-DCPM_COPACABANA_SOURCE=${copacabana}"
];

meta = with lib; {
description = "C++20 implementation of a tuple-like class";
homepage = "https://github.com/jfalcou/kumi";
license = licenses.boost;
platforms = platforms.all;
#maintainers = with maintainers; [ foolnotion ];
};
}

0 comments on commit 071fcf7

Please sign in to comment.