gomod2nix/default.nix
2022-08-25 20:21:38 +12:00

13 lines
292 B
Nix

{ lib }:
(import ./generic.nix {
version = "1.4.0";
src = lib.cleanSourceWith {
filter = name: type: builtins.foldl' (v: s: v && ! lib.hasSuffix s name) true [
"tests"
"builder"
"templates"
];
src = lib.cleanSource ./.;
};
modules = ./gomod2nix.toml;
})