32 lines
423 B
Nix
32 lines
423 B
Nix
{
|
|
buildGoModule,
|
|
jq,
|
|
lib,
|
|
}:
|
|
let
|
|
inherit (lib.fileset)
|
|
toSource
|
|
unions
|
|
;
|
|
in
|
|
buildGoModule {
|
|
pname = "intake";
|
|
version = "2.0.0";
|
|
src = toSource {
|
|
root = ./.;
|
|
fileset = unions [
|
|
./cmd
|
|
./core
|
|
./go.mod
|
|
./go.sum
|
|
./main.go
|
|
./web
|
|
];
|
|
};
|
|
vendorHash = "sha256-sv4rlURaTatxJ5atYWYzD2O4EiuPp66i0RY5lQzhBKU=";
|
|
|
|
nativeBuildInputs = [ jq ];
|
|
|
|
meta = {};
|
|
}
|