31 lines
646 B
Nix
31 lines
646 B
Nix
|
{
|
||
|
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;
|
||
|
};
|
||
|
}
|