46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
26 lines
591 B
Nix
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 ];
|
|
};
|
|
}
|