1 { lib, fetchFromGitHub, buildGoPackage
2 , makeWrapper, nix-prefetch-scripts }:
6 version = "unstable-2019-04-02";
8 goPackagePath = "github.com/nixcloud/dep2nix";
10 src = fetchFromGitHub {
13 rev = "830684f920333b8ff0946d6b807e8be642eec3ef";
14 sha256 = "17sjxhzhmz4893x3x054anp4xvqd1px15nv3fj2m7i6r0vbgpm0j";
22 wrapProgram $out/bin/dep2nix \
23 --prefix PATH : ${nix-prefetch-scripts}/bin
29 description = "Convert `Gopkg.lock` files from golang dep into `deps.nix`";
30 license = licenses.bsd3;
31 homepage = "https://github.com/nixcloud/dep2nix";
32 maintainers = [ maintainers.mic92 ];