From e1c2f0c4f223f42abae04e7eb3c68d82d71426ea Mon Sep 17 00:00:00 2001 From: Jez Cope Date: Mon, 28 Jun 2021 12:17:13 +0100 Subject: [PATCH] Initial commit --- flake.lock | 42 ++++++++++++++++++++++++++++++++++++++++++ flake.nix | 16 ++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 flake.lock create mode 100644 flake.nix diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..f017646 --- /dev/null +++ b/flake.lock @@ -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 +} diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..23c4095 --- /dev/null +++ b/flake.nix @@ -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 ])) ]; + }; + }); +}