From 2be80b46d63fcc3250f9122ab987da584090e97d Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Fri, 10 Apr 2020 17:32:56 -0700 Subject: [PATCH] pinch --- overlays/pinch.nix | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 overlays/pinch.nix diff --git a/overlays/pinch.nix b/overlays/pinch.nix new file mode 100644 index 0000000..d85be2d --- /dev/null +++ b/overlays/pinch.nix @@ -0,0 +1,9 @@ +self: super: { + pinch = super.writeShellScriptBin "pinch" '' + exec ${self.python3}/bin/python3 ${super.fetchgit { + url = "https://scottworley.com/pinch.git"; + rev = "1.0"; + sha256 = "0dlyx1vadppalpc1kr777k8ij3x04lz2m938y205xi7k5ab6j6fr"; + }}/pinch.py "$@" + ''; +} -- 2.44.1