update shell.nix (#12295)
This commit is contained in:
parent
eac9ee8d3f
commit
ef872595ae
36
shell.nix
36
shell.nix
@ -2,48 +2,20 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
nixpkgs = builtins.fetchTarball {
|
nixpkgs = builtins.fetchTarball {
|
||||||
url = "https://github.com/NixOS/nixpkgs/archive/c4b26e702044dbf40f8236136c099d8ab6778514.tar.gz";
|
url = "https://github.com/NixOS/nixpkgs/archive/1f77a4c8c74bbe896053994836790aa9bf6dc5ba.tar.gz";
|
||||||
sha256 = "0w6hgs01qzni3a7cvgadjlmcdlb6vay3w910vh4k9fc949ii7s60";
|
sha256 = "1j62nmzz3w33dplzf1xz1pg1pfkxii7lwdqmsxmc71cs9cm3s7n1";
|
||||||
};
|
};
|
||||||
|
|
||||||
pkgs = import nixpkgs { };
|
pkgs = import nixpkgs { };
|
||||||
|
|
||||||
hjson = with pkgs.python3Packages; buildPythonPackage rec {
|
|
||||||
pname = "hjson";
|
|
||||||
version = "3.0.1";
|
|
||||||
|
|
||||||
src = fetchPypi {
|
|
||||||
inherit pname version;
|
|
||||||
sha256 = "1yaimcgz8w0ps1wk28wk9g9zdidp79d14xqqj9rjkvxalvx2f5qx";
|
|
||||||
};
|
|
||||||
|
|
||||||
doCheck = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
milc = with pkgs.python3Packages; buildPythonPackage rec {
|
|
||||||
pname = "milc";
|
|
||||||
version = "1.0.10";
|
|
||||||
|
|
||||||
src = fetchPypi {
|
|
||||||
inherit pname version;
|
|
||||||
sha256 = "1q1p7qrqk78mw67nhv04zgxaq8himmdxmy2vp4fmi7chwgcbpi32";
|
|
||||||
};
|
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
|
||||||
appdirs
|
|
||||||
argcomplete
|
|
||||||
colorama
|
|
||||||
];
|
|
||||||
|
|
||||||
doCheck = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
pythonEnv = pkgs.python3.withPackages (p: with p; [
|
pythonEnv = pkgs.python3.withPackages (p: with p; [
|
||||||
# requirements.txt
|
# requirements.txt
|
||||||
appdirs
|
appdirs
|
||||||
argcomplete
|
argcomplete
|
||||||
colorama
|
colorama
|
||||||
|
dotty-dict
|
||||||
hjson
|
hjson
|
||||||
|
jsonschema
|
||||||
milc
|
milc
|
||||||
pygments
|
pygments
|
||||||
# requirements-dev.txt
|
# requirements-dev.txt
|
||||||
|
Loading…
Reference in New Issue
Block a user