Merge pull request #44914 from costrouc/costrouc/xnd-init

libxnd and libndypes: init at 0.2.0dev3
This commit is contained in:
Joachim F 2018-08-27 17:40:33 +00:00 committed by GitHub
commit c383462c79
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 60 additions and 0 deletions

View file

@ -0,0 +1,25 @@
{ lib
, stdenv
, fetchFromGitHub
}:
stdenv.mkDerivation rec {
name = "libndtypes-${version}";
version = "0.2.0dev3";
src = fetchFromGitHub {
owner = "plures";
repo = "ndtypes";
rev = "v${version}";
sha256 = "0dpvv13mrid8l5zkjlz18qvirz3nr0v98agx9bcvkqbiahlfgjli";
};
makeFlags = [ "CONFIGURE_LDFLAGS='-shared'" ];
meta = {
description = "Dynamic types for data description and in-memory computations";
homepage = https://xnd.io/;
license = lib.licenses.bsdOriginal;
maintainers = with lib.maintainers; [ costrouc ];
};
}

View file

@ -0,0 +1,31 @@
{ lib
, stdenv
, fetchFromGitHub
, libndtypes
}:
stdenv.mkDerivation rec {
name = "libxnd-${version}";
version = "0.2.0dev3";
src = fetchFromGitHub {
owner = "plures";
repo = "xnd";
rev = "v${version}";
sha256 = "0byq7jspyr2wxrhihw4q7nf0y4sb6j5ax0ndd5dnq5dz88c7qqm2";
};
buildInputs = [ libndtypes ];
configureFlags = [ "XND_INCLUDE='-I${libndtypes}/include'"
"XND_LINK='-L${libndtypes}/lib'" ];
makeFlags = [ "CONFIGURE_LDFLAGS='-shared'" ];
meta = {
description = "General container that maps a wide range of Python values directly to memory";
homepage = https://xnd.io/;
license = lib.licenses.bsdOriginal;
maintainers = with lib.maintainers; [ costrouc ];
};
}

View file

@ -1406,6 +1406,10 @@ with pkgs;
lief = callPackage ../development/libraries/lief {};
libndtypes = callPackages ../development/libraries/libndtypes { };
libxnd = callPackages ../development/libraries/libxnd { };
loadwatch = callPackage ../tools/system/loadwatch { };
loccount = callPackage ../development/tools/misc/loccount { };