Home

gist @main - refs - log -
-
https://git.jolheiser.com/gist.git
CLI for OpenGist
tree log patch
feat: nix Signed-off-by: jolheiser <john.olheiser@gmail.com>
Signature
-----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEgqEQpE3xoo1QwJO/uFOtpdp7v3oFAmVlcZEACgkQuFOtpdp7 v3qPBQ//UVIEDb/VVZkcoWqmo9B/WbqCjFPmwPB8MQkzrO/hVPwjA/SRDzdV8iP2 eEreVrHz2aDahwv9vcYcIBd5jez7JiWi1s7iC9Uxsh2PeCByPWk1WMnkN1+E1ZrO DkJZzhNl6iRJQ5kxWCLvurT+3ujqPgdzIBGhcMyEvuKixG6zLUSZYriByqH+5gwF QLPttY1Nx5+G2Cod0kEl/20IT+WHuw5AqaywY8irF3JVA4mOOVCTtOad6RFc3zBq sa7/O+QuIXmw3nm2VYkpcGc7P/c4j7Ixp0z/XzZQ4oCQJvH0OitEgAdiimm7QTXj 1VqGnnFupjpDtPWBwvUWO2HTjLQPvAGghMv7C/NjCSYoW7mkMoajSS1NmHCWHb3q Flw319LXuqTXCa3mNw7xYlkEOUeZxvaoIClWnxBrw11RGwxQoT5eH/91hxyIbPxv 0KVZcQs6EaRpXV56r3Yd0eL+lZ2yWXlo5cN/PQ8kSPt7wNg69tZ+47hzicEAwOs1 O5DvcGE7w1Jpimk1o8f5VNWr4paXBYIMGqD+elpG9rXTULwlKIDwTBqXn+7hNJCj qGiOiEunjfWC8zUT8yp7s6pZ5tl2bmjtubor8w5MF3APG/OYdBGG1pnDhG+Ov5cc OHntsycZVQEiX1ZFuTYWLbE3aR13ipvIsIsEt62OATOpg420TZs= =Mzq3 -----END PGP SIGNATURE-----
jolheiser <john.olheiser@gmail.com>
10 months ago
2 changed files, 56 additions(+), 0 deletions(-)
I flake.lock
diff --git a/flake.lock b/flake.lock
new file mode 100644
index 0000000000000000000000000000000000000000..ee59ce0cb3b529ee8f475eac1c1ddb69e26bec12
--- /dev/null
+++ b/flake.lock
@@ -0,0 +1,26 @@
+{
+  "nodes": {
+    "nixpkgs": {
+      "locked": {
+        "lastModified": 1701141680,
+        "narHash": "sha256-qaPcwKI0RR6mxfn4sMrHEjjDl6VCEPUTRZhN+OFB6zg=",
+        "owner": "nixos",
+        "repo": "nixpkgs",
+        "rev": "4469e22700c47792f93daa882786d36f9bf8bc2a",
+        "type": "github"
+      },
+      "original": {
+        "owner": "nixos",
+        "repo": "nixpkgs",
+        "type": "github"
+      }
+    },
+    "root": {
+      "inputs": {
+        "nixpkgs": "nixpkgs"
+      }
+    }
+  },
+  "root": "root",
+  "version": 7
+}
I flake.nix
diff --git a/flake.nix b/flake.nix
new file mode 100644
index 0000000000000000000000000000000000000000..17c5c500f4de9f97826a0571fbf6e2efc12769e5
--- /dev/null
+++ b/flake.nix
@@ -0,0 +1,30 @@
+{
+  description = "gist";
+
+  inputs.nixpkgs.url = "github:nixos/nixpkgs";
+
+  outputs = {
+    self,
+    nixpkgs,
+  }: let
+    pkgs = nixpkgs.legacyPackages.x86_64-linux;
+    gist = pkgs.buildGoModule {
+      pname = "gist";
+      version = "0.0.1";
+
+      src = ./.;
+
+      vendorHash = "sha256-PmcLgP8F+oO3dfPYMKQt8eLgywoz5OUtmj6bn7BPr1M=";
+
+      meta = with pkgs.lib; {
+        description = "";
+        homepage = "https://git.jojodev.com/jolheiser/gist";
+        license = licenses.mit;
+        maintainers = with maintainers; [jolheiser];
+        mainProgram = "gist";
+      };
+    };
+  in {
+    packages.x86_64-linux.default = gist;
+  };
+}