go-migrate: init at 4.11.0
This commit is contained in:
parent
1c3e3e081c
commit
e77c051f79
2 changed files with 26 additions and 0 deletions
24
pkgs/development/tools/go-migrate/default.nix
Normal file
24
pkgs/development/tools/go-migrate/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ stdenv, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "go-migrate";
|
||||
version = "4.11.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "golang-migrate";
|
||||
repo = "migrate";
|
||||
rev = "v${version}";
|
||||
sha256 = "Dw+TiuksgOfFBCzNc9rsxyQCoXES+fpr4wTrZfqohGM=";
|
||||
};
|
||||
|
||||
vendorSha256 = "CezVFRZ/cknvK4t/MjyP46zJACGkzj4CZ5JVQ502Ihw=";
|
||||
|
||||
subPackages = [ "cmd/migrate" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/golang-migrate/migrate";
|
||||
description = "Database migrations. CLI and Golang library.";
|
||||
maintainers = with maintainers; [ offline ];
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
|
@ -17389,6 +17389,8 @@ in
|
|||
|
||||
gotop = callPackage ../tools/system/gotop { };
|
||||
|
||||
go-migrate = callPackage ../development/tools/go-migrate { };
|
||||
|
||||
gomodifytags = callPackage ../development/tools/gomodifytags { };
|
||||
|
||||
go-langserver = callPackage ../development/tools/go-langserver { };
|
||||
|
|
Loading…
Reference in a new issue