1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 07:31:20 +00:00
nixpkgs/pkgs/development/libraries/libxnd/default.nix
2018-09-13 15:20:08 -04:00

31 lines
734 B
Nix

{ 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 ];
# Override linker with cc (symlink to either gcc or clang)
# Library expects to use cc for linking
configureFlags = [ "LD=${stdenv.cc.targetPrefix}cc" ];
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 ];
};
}