diff options
author | Jasper Ras <jras@hostnet.nl> | 2024-11-23 17:34:50 +0100 |
---|---|---|
committer | Jasper Ras <jras@hostnet.nl> | 2024-11-23 17:34:50 +0100 |
commit | 80153a133d0888b7c0a7b72a9f80ccc6f005c555 (patch) | |
tree | 261af65acfe995e7254152136af119af489c7354 /0 inbox/Shell.nix python.md | |
parent | dbe655fca3cf4fc5bc882015006f006764eace52 (diff) |
sorted out inbox
Diffstat (limited to '0 inbox/Shell.nix python.md')
-rw-r--r-- | 0 inbox/Shell.nix python.md | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/0 inbox/Shell.nix python.md b/0 inbox/Shell.nix python.md deleted file mode 100644 index 7dabd4d..0000000 --- a/0 inbox/Shell.nix python.md +++ /dev/null @@ -1,15 +0,0 @@ -https://nixos.org/manual/nixpkgs/stable/#python - -```nix -{ pkgs ? import <nixpkgs> {}}: - -pkgs.mkShell { - packages = [ pkgs.virtualenv ]; -} -``` - -```nix -with import <nixpkgs> {}; -( -let my_toolz = python311.pkgs.buildPythonPackage rec { pname = "toolz"; version = "0.10.0"; pyproject = true; src = fetchPypi { inherit pname version; hash = "sha256-CP3V73yWSArRHBLUct4hrNMjWZlvaaUlkpm1QP66RWA="; }; nativeBuildInputs = [ python311.pkgs.setuptools python311.pkgs.wheel ]; # has no tests doCheck = false; meta = { homepage = "https://github.com/pytoolz/toolz/"; description = "List processing tools and functional utilities"; # [...] }; }; in python311.withPackages (ps: with ps; [ numpy my_toolz ]) ).env -```
\ No newline at end of file |