Add initial flake.nix and default.nix
For NixOS development
This commit is contained in:
parent
4474319e73
commit
5b65a3d4ef
3 changed files with 101 additions and 0 deletions
13
default.nix
Normal file
13
default.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{ pkgs ? import <nixpkgs> { } }:
|
||||
pkgs.buildGoModule rec {
|
||||
meta = {
|
||||
description = "A go library for SQL generation";
|
||||
homepage = "https://source.gleipnir.technology/Gleipnir/jet";
|
||||
};
|
||||
pname = "go-jet";
|
||||
src = ./.;
|
||||
subPackages = [];
|
||||
version = "0.0.1";
|
||||
# Needs to be updated after every modification of go.mod/go.sum
|
||||
vendorHash = "sha256-aaJnH258H1LkXvb22rR3Clg7fKzA/aaaBZUkh1E8aaa=";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue