about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/database/dbmate/default.nix
blob: 11b84648632d8f894e719d375e501a928a39f334 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ 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;
  };
}