-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathflake.nix
More file actions
71 lines (62 loc) · 1.82 KB
/
flake.nix
File metadata and controls
71 lines (62 loc) · 1.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
};
outputs = { self, nixpkgs }:
let
pkgs = import nixpkgs {
system = "x86_64-linux";
};
in
{
devShell.x86_64-linux =
pkgs.mkShell {
shellHook = ''
export QT_QPA_PLATFORM_PLUGIN_PATH="${pkgs.qt5.qtbase.bin}/lib/qt-${pkgs.qt5.qtbase.version}/plugins"
export QT_PLUGIN_PATH="${pkgs.qt5.qtbase.bin}/lib/qt-${pkgs.qt5.qtbase.version}/plugins"
'';
buildInputs = with pkgs; [
qt5.qtbase
qt5.qtx11extras
xorg.libX11
xorg.libxcb
(python3.withPackages (ps: with ps; [
pyscard
pyqt5
pyqtgraph
(buildPythonPackage rec {
pname = "ber-tlv";
version = "0.0.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-gKvA98qibKn02jwY20k2uuvjOu6cbsrui3GNXdJBSQI=";
};
pyproject = true;
doCheck = true;
propagatedBuildInputs = [
setuptools
];
})
(buildPythonPackage rec {
pname = "heartpy";
version = "1.2.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-AfFU8zC30iH3m3N4+2UZ42R1c8QnRifyn5m7Vp10SR4=";
};
doCheck = true;
propagatedBuildInputs = [
setuptools
numpy
scipy
matplotlib
cycler
kiwisolver
pyparsing
];
})
]))
];
};
};
}