GitBucket
4.21.2
Toggle navigation
Snippets
Sign in
Files
Branches
2
Releases
1
Issues
Pull requests
Labels
Priorities
Milestones
Wiki
Forks
nigel.stanger
/
process_podcast
Browse code
Added nix-direnv flake (but app borked 🙁)
master
1 parent
16761c7
commit
57fa226496ee609f8a94c2bc47211d313102a15e
Nigel Stanger
authored
10 days ago
Patch
Showing
4 changed files
.envrc
.gitignore
flake.lock
flake.nix
Ignore Space
Show notes
View
.envrc
0 → 100644
use flake .
Ignore Space
Show notes
View
.gitignore
.direnv .process_podcast *.pyc
*.pyc
Ignore Space
Show notes
View
flake.lock
0 → 100644
{ "nodes": { "nixpkgs": { "locked": { "lastModified": 1757810152, "narHash": "sha256-Vp9K5ol6h0J90jG7Rm4RWZsCB3x7v5VPx588TQ1dkfs=", "owner": "nixos", "repo": "nixpkgs", "rev": "9a094440e02a699be5c57453a092a8baf569bdad", "type": "github" }, "original": { "owner": "nixos", "ref": "nixos-25.05", "repo": "nixpkgs", "type": "github" } }, "root": { "inputs": { "nixpkgs": "nixpkgs" } } }, "root": "root", "version": 7 }
Ignore Space
Show notes
View
flake.nix
0 → 100644
# Based on <https://github.com/the-nix-way/dev-templates/blob/main/python/flake.nix>. { description = "process_podcast flake"; inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05"; }; outputs = { self, nixpkgs }: let supportedSystems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ]; forEachSupportedSystem = f: nixpkgs.lib.genAttrs supportedSystems (system: f { pkgs = import nixpkgs { inherit system; }; }); in { devShells = forEachSupportedSystem ({ pkgs }: { default = pkgs.mkShell rec { name = "Process podcast"; venvDir = "./.process_podcast"; packages = with pkgs; [ python3 python3Packages.ipython python3Packages.venvShellHook python3Packages.pexpect python3Packages.ptyprocess python3Packages.pyparsing ]; # postVenvCreation = '' # pip install -r ${./requirements.txt} # ''; shellHook = '' venvShellHook ''; }; }); }; }
Show line notes below