summaryrefslogtreecommitdiffstats
path: root/pkgs/development/tools/database
diff options
context:
space:
mode:
authorMarek Mahut <marek.mahut@gmail.com>2019-10-05 22:27:14 +0200
committerGitHub <noreply@github.com>2019-10-05 22:27:14 +0200
commit195a9b51bab16b048031f600079ee2568735918b (patch)
tree2549d443221b1462de8fc26d60fe8b724d7d37da /pkgs/development/tools/database
parent5d4b94ec2dffbd2ce7e04b1fb961605b7f168476 (diff)
parent35b405aeb75dba4226ce649530f46255c97ac64c (diff)
Merge pull request #70428 from manveru/dbmate-1.7.0
dbmate: 1.4.1 -> 1.7.0
Diffstat (limited to 'pkgs/development/tools/database')
-rw-r--r--pkgs/development/tools/database/dbmate/default.nix14
1 files changed, 6 insertions, 8 deletions
diff --git a/pkgs/development/tools/database/dbmate/default.nix b/pkgs/development/tools/database/dbmate/default.nix
index 11b84648632d..efc20b6972be 100644
--- a/pkgs/development/tools/database/dbmate/default.nix
+++ b/pkgs/development/tools/database/dbmate/default.nix
@@ -1,23 +1,21 @@
-{ stdenv, buildGoPackage, fetchFromGitHub }:
+{ stdenv, buildGoModule, fetchFromGitHub }:
-buildGoPackage rec {
+buildGoModule rec {
pname = "dbmate";
- version = "1.4.1";
-
- goPackagePath = "github.com/amacneil/dbmate";
+ version = "1.7.0";
src = fetchFromGitHub {
owner = "amacneil";
repo = "dbmate";
rev = "v${version}";
- sha256 = "0s3l51kmpsaikixq1yxryrgglzk4kfrjagcpf1i2bkq4wc5gyv5d";
+ sha256 = "0jvizj616rsh3aw9z3bijk7ixpbnqmm3xqmdxznjzqd46avr54c3";
};
- goDeps = ./deps.nix;
+ modSha256 = "12x3m5bjyx3blh5i51pd99phv73m96pmm6i3ir4vf2kms3viif9i";
meta = with stdenv.lib; {
description = "Database migration tool";
- homepage = https://dbmate.readthedocs.io;
+ homepage = https://github.com/amacneil/dbmate;
license = licenses.mit;
maintainers = [ maintainers.manveru ];
platforms = platforms.unix;