intake/package.nix
2025-02-20 08:03:38 -08:00

32 lines
424 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 = { };
}