noptica-rs/shell.nix

26 lines
738 B
Nix
Raw Normal View History

# This is for nixpkgs 19.09
2019-08-29 12:18:17 +08:00
let
pkgs = import <nixpkgs> { };
glasgow = pkgs.callPackage ./glasgow.nix {};
2019-10-08 15:23:04 +08:00
pyqtgraph-qt5 = pkgs.python3Packages.buildPythonPackage rec {
name = "pyqtgraph_qt5-${version}";
version = "0.10.0";
doCheck = false;
src = pkgs.fetchFromGitHub {
owner = "pyqtgraph";
repo = "pyqtgraph";
rev = "1426e334e1d20542400d77c72c132b04c6d17ddb";
sha256 = "1079haxyr316jf0wpirxdj0ry6j8mr16cqr0dyyrd5cnxwl7zssh";
};
propagatedBuildInputs = with pkgs.python3Packages; [ scipy numpy pyqt5 pyopengl ];
};
2019-08-29 12:18:17 +08:00
in
pkgs.mkShell {
2019-10-08 15:23:04 +08:00
buildInputs = [
glasgow
(pkgs.python3.withPackages(ps: [ps.quamash ps.pyqt5 pyqtgraph-qt5]))
pkgs.rustc pkgs.cargo
];
2019-08-29 12:18:17 +08:00
}