Reviewed-on: #31 Co-authored-by: jolheiser <john.olheiser@gmail.com> Co-committed-by: jolheiser <john.olheiser@gmail.com>pull/32/head
parent
44de3c2376
commit
01944e1a3a
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
"nodes": {
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1703042410,
|
||||
"narHash": "sha256-LKhDz1Lxp+QgL6UpuPCLkMAx6JvabwwyIoeoQd1A7Sc=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "7dbe085eb6870dc0b729254c987f626c2a6e71d7",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"nixpkgs": "nixpkgs"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
"version": 7
|
||||
}
|
|
@ -0,0 +1,30 @@
|
|||
{
|
||||
description = "tmpl";
|
||||
|
||||
inputs.nixpkgs.url = "github:nixos/nixpkgs";
|
||||
|
||||
outputs = {
|
||||
self,
|
||||
nixpkgs,
|
||||
}: let
|
||||
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
||||
tmpl = pkgs.buildGoModule {
|
||||
pname = "tmpl";
|
||||
version = "0.4.0";
|
||||
|
||||
src = ./.;
|
||||
|
||||
vendorHash = "sha256-QNwzHC4fHLAhshOplKmMjRYa9sHNjBLdfBgANbs/iKk=";
|
||||
|
||||
meta = with pkgs.lib; {
|
||||
description = "";
|
||||
homepage = "https://git.jojodev.com/jolheiser/tmpl";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [jolheiser];
|
||||
mainProgram = "tmpl";
|
||||
};
|
||||
};
|
||||
in {
|
||||
packages.x86_64-linux.default = tmpl;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue