biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / tools / go-migrate / default.nix
blobe9d907c6f86d9e4d25edc65a91b48b959502bec8
1 { lib, buildGoModule, fetchFromGitHub }:
3 buildGoModule rec {
4   pname = "go-migrate";
5   version = "4.17.1";
7   src = fetchFromGitHub {
8     owner = "golang-migrate";
9     repo = "migrate";
10     rev = "v${version}";
11     sha256 = "sha256-9PJ3XxEA2PEaPFE3BbZkJB8XdJmm0gZf2Ko5T9DAZBw=";
12   };
14   proxyVendor = true; # darwin/linux hash mismatch
15   vendorHash = "sha256-03nNN1FkGee01gNOmIASc2B7mMTes1pEDc6Lo08dhcw=";
17   subPackages = [ "cmd/migrate" ];
19   tags = [ "cassandra" "clickhouse" "cockroachdb" "crate" "firebird" "mongodb" "multistmt" "mysql" "neo4j" "pgx" "postgres" "ql" "redshift" "rqlite" "shell" "snowflake" "spanner" "sqlite3" "sqlserver" "stub" "testing" "yugabytedb" ];
21   meta = with lib; {
22     homepage = "https://github.com/golang-migrate/migrate";
23     description = "Database migrations. CLI and Golang library";
24     maintainers = with maintainers; [ offline ];
25     license = licenses.mit;
26     mainProgram = "migrate";
27   };