parent
459331572c
commit
993b3ff8bf
|
@ -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
|
||||
}
|
|
@ -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;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue