minio-client: 2022-03-17T20-25-06Z -> 2022-05-09T04-08-26Z
This commit is contained in:
parent
baad78f394
commit
d9ee32ecaf
1 changed files with 6 additions and 4 deletions
|
@ -1,17 +1,17 @@
|
||||||
{ lib, buildGoModule, fetchFromGitHub }:
|
{ lib, buildGoModule, fetchFromGitHub, nixosTests }:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "minio-client";
|
pname = "minio-client";
|
||||||
version = "2022-03-17T20-25-06Z";
|
version = "2022-05-09T04-08-26Z";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "minio";
|
owner = "minio";
|
||||||
repo = "mc";
|
repo = "mc";
|
||||||
rev = "RELEASE.${version}";
|
rev = "RELEASE.${version}";
|
||||||
sha256 = "sha256-+MfRosEyIaQ5RndpAeK5AXm8EHX2ND7VJcr1NVFs5TI=";
|
sha256 = "sha256-a7zpvumsMijMmJthg4EZgOUymDC4GrbDjAwN4sXxE6g=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-Wdw9mZ3UupoJ4yDwS4f3mOmCn+7TvHmx4aRu+96pHM4=";
|
vendorSha256 = "sha256-OkcQxTDKhuFCjNs5TNBBMde+M6vCfPSR5IuVbCaqWJg=";
|
||||||
|
|
||||||
subPackages = [ "." ];
|
subPackages = [ "." ];
|
||||||
|
|
||||||
|
@ -26,6 +26,8 @@ buildGoModule rec {
|
||||||
$out/bin/mc --version | grep ${version} > /dev/null
|
$out/bin/mc --version | grep ${version} > /dev/null
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru.tests.minio = nixosTests.minio;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/minio/mc";
|
homepage = "https://github.com/minio/mc";
|
||||||
description = "A replacement for ls, cp, mkdir, diff and rsync commands for filesystems and object storage";
|
description = "A replacement for ls, cp, mkdir, diff and rsync commands for filesystems and object storage";
|
||||||
|
|
Loading…
Reference in a new issue