dbmate: fix build on darwin

This commit is contained in:
Mario Rodas
2020-03-21 04:31:00 -05:00
parent 48489b7e2c
commit 38be8fbe7f
3 changed files with 6 additions and 86 deletions
@@ -1,4 +1,4 @@
{ stdenv, buildGoModule, fetchFromGitHub }:
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
buildGoModule rec {
pname = "dbmate";
@@ -13,6 +13,8 @@ buildGoModule rec {
modSha256 = "12x3m5bjyx3blh5i51pd99phv73m96pmm6i3ir4vf2kms3viif9i";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
meta = with stdenv.lib; {
description = "Database migration tool";
homepage = https://github.com/amacneil/dbmate;