generated from datalad/datalad-extension-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
29 lines (27 loc) · 742 Bytes
/
flake.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
description = "DataLad extension for code execution in get commands";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
outputs = inputs:
let
systems = [ "x86_64-linux" ];
forAllSystems = inputs.nixpkgs.lib.genAttrs systems;
in
{
devShells = forAllSystems (system:
let
pkgs = inputs.nixpkgs.legacyPackages.${system};
python-env = pkgs.python3.withPackages (ps: with ps; [
setuptools
pip
virtualenv
tox
]);
in
{
default = pkgs.mkShell {
packages = with pkgs; [ git-annex ];
nativeBuildInputs = with pkgs; [ python-env ];
};
});
};
}