gomod2nix/default.nix
2020-10-29 13:26:18 +01:00

17 lines
310 B
Nix

let
pkgs = import <nixpkgs> {
overlays = [
(self: super: {
buildGoApplication = super.callPackage ./builder { };
})
];
};
inherit (pkgs) lib;
in pkgs.buildGoApplication {
pname = "gomod2nix";
version = "0.1";
src = lib.cleanSource ./.;
modules = ./gomod2nix.toml;
}