mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Merge pull request #44914 from costrouc/costrouc/xnd-init
libxnd and libndypes: init at 0.2.0dev3
This commit is contained in:
commit
c383462c79
3 changed files with 60 additions and 0 deletions
25
pkgs/development/libraries/libndtypes/default.nix
Normal file
25
pkgs/development/libraries/libndtypes/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
31
pkgs/development/libraries/libxnd/default.nix
Normal file
31
pkgs/development/libraries/libxnd/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue