summary refs log tree commit diff
path: root/pkgs/development/libraries/libxnd
diff options
context:
space:
mode:
authorChris Ostrouchov <chris.ostrouchov@gmail.com>2018-11-27 16:53:46 -0500
committerChris Ostrouchov <chris.ostrouchov@gmail.com>2019-02-23 13:09:10 -0500
commit84cbff0a00e91fd8195820c4f63f9e797ddfd21d (patch)
treed235b40acc83f99871daa844ad0718aea389ea8d /pkgs/development/libraries/libxnd
parenteb36c3f28c26ac8c82b548dbf8ee3b15595405f7 (diff)
downloadnixpkgs-84cbff0a00e91fd8195820c4f63f9e797ddfd21d.tar
nixpkgs-84cbff0a00e91fd8195820c4f63f9e797ddfd21d.tar.gz
nixpkgs-84cbff0a00e91fd8195820c4f63f9e797ddfd21d.tar.bz2
nixpkgs-84cbff0a00e91fd8195820c4f63f9e797ddfd21d.tar.lz
nixpkgs-84cbff0a00e91fd8195820c4f63f9e797ddfd21d.tar.xz
nixpkgs-84cbff0a00e91fd8195820c4f63f9e797ddfd21d.tar.zst
nixpkgs-84cbff0a00e91fd8195820c4f63f9e797ddfd21d.zip
libxnd: 0.2.0dev3 -> unstable-2018-11-27
Diffstat (limited to 'pkgs/development/libraries/libxnd')
-rw-r--r--pkgs/development/libraries/libxnd/default.nix19
1 files changed, 14 insertions, 5 deletions
diff --git a/pkgs/development/libraries/libxnd/default.nix b/pkgs/development/libraries/libxnd/default.nix
index 6b9375c7381..cb93ec63e67 100644
--- a/pkgs/development/libraries/libxnd/default.nix
+++ b/pkgs/development/libraries/libxnd/default.nix
@@ -6,23 +6,32 @@
 
 stdenv.mkDerivation rec {
   name = "libxnd-${version}";
-  version = "0.2.0dev3";
+  version = "unstable-2018-11-27";
 
   src = fetchFromGitHub {
     owner = "plures";
     repo = "xnd";
-    rev = "v${version}";
-    sha256 = "0byq7jspyr2wxrhihw4q7nf0y4sb6j5ax0ndd5dnq5dz88c7qqm2";
+    rev = "8a9f3bd1d01d872828b40bc9dbd0bc0184524da3";
+    sha256 = "10jh2kqvhpzwy50adayh9az7z2lm16yxy4flrh99alzzbqdyls44";
   };
 
   buildInputs = [ libndtypes ];
 
   # Override linker with cc (symlink to either gcc or clang)
   # Library expects to use cc for linking
-  configureFlags = [ "LD=${stdenv.cc.targetPrefix}cc" ];
+  configureFlags = [
+      # Override linker with cc (symlink to either gcc or clang)
+      # Library expects to use cc for linking
+      "LD=${stdenv.cc.targetPrefix}cc"
+      # needed for tests
+      "--with-includes=${libndtypes}/include"
+      "--with-libs=${libndtypes}/lib"
+  ];
+
+  doCheck = true;
 
   meta = {
-    description = "General container that maps a wide range of Python values directly to memory";
+    description = "C library for managing typed memory blocks and Python container module";
     homepage = https://xnd.io/;
     license = lib.licenses.bsdOriginal;
     maintainers = with lib.maintainers; [ costrouc ];