Skip to content

Instantly share code, notes, and snippets.

@milibopp
Created July 7, 2017 12:54
Show Gist options
  • Save milibopp/43002355489cd76025278f51b80942e3 to your computer and use it in GitHub Desktop.
Save milibopp/43002355489cd76025278f51b80942e3 to your computer and use it in GitHub Desktop.
Vispy usage with redundant fontconfig
with import <nixpkgs> {};
stdenv.mkDerivation rec {
name = "data-analysis";
LD_LIBRARY_PATH = "${pkgs.fontconfig.lib}/lib";
buildInputs = [
(pkgs.python27.withPackages (packages: with packages; [
h5py
numpy
(import ./vispy.nix)
]))
pkgs.fontconfig
];
}
with import <nixpkgs> {};
with pkgs.python27Packages;
buildPythonPackage rec {
name = "vispy-master";
src = pkgs.fetchgit {
url = "https://github.com/vispy/vispy";
sha256 = "1zm0gglvzlhliicwv5rm9nv34f1ql2i5vns8ybqr78r4bcz0f6dp";
rev = "38001b70d54a5519eb296d44a196c081fcbd7fad";
};
LD_LIBRARY_PATH = "${pkgs.fontconfig.lib}/lib";
buildInputs = [ pkgs.fontconfig ];
propagatedBuildInputs = [ numpy ];
meta = {
homepage = "http://vispy.org/";
description = "Interactive scientific data visualization";
license = licenses.bsd3;
maintainers = [];
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment