Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 25 lines 582 B view raw
1{ stdenv, buildGoPackage, fetchFromGitHub }: 2 3buildGoPackage rec { 4 pname = "dbmate"; 5 version = "1.4.1"; 6 7 goPackagePath = "github.com/amacneil/dbmate"; 8 9 src = fetchFromGitHub { 10 owner = "amacneil"; 11 repo = "dbmate"; 12 rev = "v${version}"; 13 sha256 = "0s3l51kmpsaikixq1yxryrgglzk4kfrjagcpf1i2bkq4wc5gyv5d"; 14 }; 15 16 goDeps = ./deps.nix; 17 18 meta = with stdenv.lib; { 19 description = "Database migration tool"; 20 homepage = https://dbmate.readthedocs.io; 21 license = licenses.mit; 22 maintainers = [ maintainers.manveru ]; 23 platforms = platforms.unix; 24 }; 25}