libgumath: init at unstable-2018-11-27

This commit is contained in:
Chris Ostrouchov 2018-11-27 16:52:34 -05:00
parent ce019e775f
commit eb36c3f28c
No known key found for this signature in database
GPG key ID: 9ED59B0AB1EAF573
2 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,34 @@
{ stdenv
, fetchFromGitHub
, libndtypes
, libxnd
}:
stdenv.mkDerivation rec {
name = "libgumath-${version}";
version = "unstable-2018-11-27";
src = fetchFromGitHub {
owner = "plures";
repo = "gumath";
rev = "5a9d27883b40432246d6a93cd6133157267fd166";
sha256 = "0w2qzp7anxd1wzkvv5r2pdkkpgrnqzgrq47lrvpqc1i1wqzcwf0w";
};
buildInputs = [ libndtypes libxnd ];
# Override linker with cc (symlink to either gcc or clang)
# Library expects to use cc for linking
configureFlags = [
"LD=${stdenv.cc.targetPrefix}cc"
];
doCheck = true;
meta = with stdenv.lib; {
description = "Library supporting function dispatch on general data containers. C base and Python wrapper";
homepage = https://xnd.io/;
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
};
}

View file

@ -3964,6 +3964,8 @@ in
libhandy = callPackage ../development/libraries/libhandy { };
libgumath = callPackage ../development/libraries/libgumath { };
libipfix = callPackage ../development/libraries/libipfix { };
libircclient = callPackage ../development/libraries/libircclient { };