Home

gist @main - refs - log -
https://git.jolheiser.com/gist.git
CLI for OpenGist
Raw - 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
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-5P75NHH0Up3x+PhoxbN0nQMqrRgt+tlTz5MPy8/CL0I=";

      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;
  };
}