Created
July 7, 2017 12:54
-
-
Save milibopp/43002355489cd76025278f51b80942e3 to your computer and use it in GitHub Desktop.
Vispy usage with redundant fontconfig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
]; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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