-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathflake.nix
54 lines (52 loc) · 1.27 KB
/
flake.nix
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
{
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 JAVA_HOME="${pkgs.jdk}"
export JAVA_HOME_JDK8="${pkgs.jdk8}"
'';
buildInputs = with pkgs; [
jdk
jdk8
ant
maven
doxygen
graphviz
libfido2
(python3.withPackages (ps: with ps; [
pyscard
cryptography
fido2
JPype1
parameterized
pyasn1
requests
pyjwt
(buildPythonPackage rec {
pname = "uhid";
version = "0.0.1";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-PHgkiYkNvzNiH7LDDRrIH7wbPvGRGufUxzkHzcD1mqs=";
};
format = "pyproject";
doCheck = false;
propagatedBuildInputs = [
setuptools
];
})
]))
];
};
};
}