Skip to content

Commit

Permalink
bundlewrap: add flake.nix
Browse files Browse the repository at this point in the history
  • Loading branch information
hexchen committed Dec 25, 2024
1 parent 9567570 commit 5ebf12a
Show file tree
Hide file tree
Showing 5 changed files with 89 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ venv/
nixos/.direnv
nixos/.deploy-gc
nixos/result
bundlewrap/.direnv
.vscode
1 change: 1 addition & 0 deletions bundlewrap/.envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
use flake
57 changes: 57 additions & 0 deletions bundlewrap/flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 29 additions & 0 deletions bundlewrap/flake.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
description = "c3voc bundlewrap";

inputs.flake-utils.url = "github:numtide/flake-utils";

outputs = { self, nixpkgs, flake-utils } @ inputs: flake-utils.lib.eachSystem ([
"x86_64-linux"
"x86_64-darwin"
"aarch64-linux"
"aarch64-darwin"
]) (system:
let
pkgs = (import nixpkgs { inherit system; });
in {
legacyPackages = pkgs;
devShells.default = pkgs.mkShell {
buildInputs = with pkgs; [
curl
rsync
(python3.withPackages (py: [
py.bundlewrap
py.bundlewrap-keepass

py.virtualenv
]))
];
};
});
}
2 changes: 1 addition & 1 deletion bundlewrap/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
bundlewrap~=4.20.0
bundlewrap~=4.0, >=4.20.0
bundlewrap-keepass

0 comments on commit 5ebf12a

Please sign in to comment.