nixpkgs-suyu/pkgs/development/tools/glide/default.nix

27 lines
566 B
Nix
Raw Normal View History

{ lib, buildGoPackage, fetchFromGitHub }:
2016-06-05 10:53:30 +02:00
2016-06-07 22:32:34 +02:00
buildGoPackage rec {
pname = "glide";
2020-02-12 19:14:10 +01:00
version = "0.13.3";
2016-12-04 23:10:24 +01:00
2016-06-05 10:53:30 +02:00
goPackagePath = "github.com/Masterminds/glide";
2021-08-26 05:31:57 +02:00
ldflags = [
"-X main.version=${version}"
];
src = fetchFromGitHub {
2016-09-21 21:53:00 +02:00
rev = "v${version}";
owner = "Masterminds";
repo = "glide";
2020-02-12 19:14:10 +01:00
sha256 = "1wskg1cxqy9sp0738qiiagdw09dbs3swxsk4z6w5hsfiq2h44a54";
2016-09-21 21:53:00 +02:00
};
meta = with lib; {
homepage = "https://glide.sh";
2016-09-21 21:53:00 +02:00
description = "Package management for Go";
license = licenses.mit;
maintainers = [ maintainers.rushmorem ];
2016-06-05 10:53:30 +02:00
};
}