1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/tools/database/dbmate/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

26 lines
582 B
Nix

{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "dbmate";
version = "1.4.1";
goPackagePath = "github.com/amacneil/dbmate";
src = fetchFromGitHub {
owner = "amacneil";
repo = "dbmate";
rev = "v${version}";
sha256 = "0s3l51kmpsaikixq1yxryrgglzk4kfrjagcpf1i2bkq4wc5gyv5d";
};
goDeps = ./deps.nix;
meta = with stdenv.lib; {
description = "Database migration tool";
homepage = https://dbmate.readthedocs.io;
license = licenses.mit;
maintainers = [ maintainers.manveru ];
platforms = platforms.unix;
};
}