aboutsummaryrefslogtreecommitdiff
path: root/shell.nix
diff options
context:
space:
mode:
authorAndré Silva <123550+andresilva@users.noreply.github.com>2021-03-25 11:45:55 +0000
committerGitHub <noreply@github.com>2021-03-25 22:45:55 +1100
commitef872595ae3c89bd2f59f18a9053af3536240bac (patch)
treebaca6a32ee757ecaabb2a6fba0b8630424af0841 /shell.nix
parenteac9ee8d3fb3f9f6eec4314fbab20fa3c4ed2edb (diff)
downloadqmk_firmware-ef872595ae3c89bd2f59f18a9053af3536240bac.tar.gz
qmk_firmware-ef872595ae3c89bd2f59f18a9053af3536240bac.zip
update shell.nix (#12295)
Diffstat (limited to 'shell.nix')
-rw-r--r--shell.nix36
1 files changed, 4 insertions, 32 deletions
diff --git a/shell.nix b/shell.nix
index 82505d5d2..ab44dd8e3 100644
--- a/shell.nix
+++ b/shell.nix
@@ -2,48 +2,20 @@
2 2
3let 3let
4 nixpkgs = builtins.fetchTarball { 4 nixpkgs = builtins.fetchTarball {
5 url = "https://github.com/NixOS/nixpkgs/archive/c4b26e702044dbf40f8236136c099d8ab6778514.tar.gz"; 5 url = "https://github.com/NixOS/nixpkgs/archive/1f77a4c8c74bbe896053994836790aa9bf6dc5ba.tar.gz";
6 sha256 = "0w6hgs01qzni3a7cvgadjlmcdlb6vay3w910vh4k9fc949ii7s60"; 6 sha256 = "1j62nmzz3w33dplzf1xz1pg1pfkxii7lwdqmsxmc71cs9cm3s7n1";
7 }; 7 };
8 8
9 pkgs = import nixpkgs { }; 9 pkgs = import nixpkgs { };
10 10
11 hjson = with pkgs.python3Packages; buildPythonPackage rec {
12 pname = "hjson";
13 version = "3.0.1";
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "1yaimcgz8w0ps1wk28wk9g9zdidp79d14xqqj9rjkvxalvx2f5qx";
18 };
19
20 doCheck = false;
21 };
22
23 milc = with pkgs.python3Packages; buildPythonPackage rec {
24 pname = "milc";
25 version = "1.0.10";
26
27 src = fetchPypi {
28 inherit pname version;
29 sha256 = "1q1p7qrqk78mw67nhv04zgxaq8himmdxmy2vp4fmi7chwgcbpi32";
30 };
31
32 propagatedBuildInputs = [
33 appdirs
34 argcomplete
35 colorama
36 ];
37
38 doCheck = false;
39 };
40
41 pythonEnv = pkgs.python3.withPackages (p: with p; [ 11 pythonEnv = pkgs.python3.withPackages (p: with p; [
42 # requirements.txt 12 # requirements.txt
43 appdirs 13 appdirs
44 argcomplete 14 argcomplete
45 colorama 15 colorama
16 dotty-dict
46 hjson 17 hjson
18 jsonschema
47 milc 19 milc
48 pygments 20 pygments
49 # requirements-dev.txt 21 # requirements-dev.txt