gomod2nix/default.nix

18 lines
310 B
Nix
Raw Normal View History

2020-07-23 09:34:26 +00:00
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;
}