gomod2nix/default.nix

14 lines
292 B
Nix
Raw Normal View History

{ lib }:
(import ./generic.nix {
2022-08-24 07:04:17 +00:00
version = "1.3.0";
2021-01-12 16:55:00 +00:00
src = lib.cleanSourceWith {
2022-05-30 11:09:22 +00:00
filter = name: type: builtins.foldl' (v: s: v && ! lib.hasSuffix s name) true [
"tests"
"builder"
"templates"
];
2021-01-12 16:55:00 +00:00
src = lib.cleanSource ./.;
};
2020-07-23 09:34:26 +00:00
modules = ./gomod2nix.toml;
})