3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/backup/wal-g/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
591 B
Nix

{ stdenv, buildGoPackage, fetchFromGitHub, brotli }:
buildGoPackage rec {
pname = "wal-g";
version = "0.2.0";
src = fetchFromGitHub {
owner = "wal-g";
repo = "wal-g";
rev = "v${version}";
sha256 = "08lk7by1anxpd9v97xbf9443kk4n1w63zaar2nz86w8i3k3b4id9";
};
buildInputs = [ brotli ];
doCheck = true;
goPackagePath = "github.com/wal-g/wal-g";
meta = {
inherit (src.meta) homepage;
license = stdenv.lib.licenses.asl20;
description = "An archival restoration tool for Postgres";
maintainers = [ stdenv.lib.maintainers.ocharles ];
};
}