Initial commit

This commit is contained in:
Jez Cope 2021-06-28 12:17:13 +01:00
commit e1c2f0c4f2
2 changed files with 58 additions and 0 deletions

42
flake.lock Normal file
View File

@ -0,0 +1,42 @@
{
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1624878008,
"narHash": "sha256-AEC0HHxCgBgS5o0Fo3vNpdO8nqrNp2fKoPKreWtpWyw=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "124bbaf311076d6e6b79bc2093fa4726a388cc16",
"type": "github"
},
"original": {
"owner": "nixos",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"nixpkgs": "nixpkgs",
"utils": "utils"
}
},
"utils": {
"locked": {
"lastModified": 1623875721,
"narHash": "sha256-A8BU7bjS5GirpAUv4QA+QnJ4CceLHkcXdRp4xITDB0s=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "f7e004a55b120c02ecb6219596820fcd32ca8772",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
}
},
"root": "root",
"version": 7
}

16
flake.nix Normal file
View File

@ -0,0 +1,16 @@
{
description = "Useful scripts for users of reMarkable e-ink tablets";
inputs.nixpkgs.url = "github:nixos/nixpkgs?branch=nixpkgs-unstable";
inputs.utils.url = "github:numtide/flake-utils";
outputs = { self, nixpkgs, utils }:
utils.lib.eachDefaultSystem (system:
let pkgs = nixpkgs.legacyPackages.${system};
in {
devShell = pkgs.mkShell {
buildInputs =
[ (pkgs.python38.withPackages (py: with py; [ sh requests click ])) ];
};
});
}