packages/minio-console: convert to pin
This commit is contained in:
parent
2d4885c9bd
commit
8e8c4354da
3 changed files with 18 additions and 9 deletions
|
@ -44,7 +44,7 @@ in
|
|||
|
||||
hyprspace = pkgs.callPackage ./networking/hyprspace { iproute2mac = null; };
|
||||
|
||||
minio-console = pkgs.callPackage ./servers/minio-console { };
|
||||
minio-console = pkgs.callPackage ./servers/minio-console { inherit pins; };
|
||||
|
||||
npins = let
|
||||
inherit (inputs.self.packages.${system}) nix-super;
|
||||
|
|
|
@ -1,15 +1,10 @@
|
|||
{ buildGoModule, fetchFromGitHub, lib }:
|
||||
{ buildGoModule, fetchFromGitHub, lib, pins }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "minio-console";
|
||||
version = "0.15.1";
|
||||
version = builtins.substring 1 (-1) pins.minio-console.version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "minio";
|
||||
repo = "console";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-z+4DVJNV1P2/EGJG+tmZjNJiUAUjiH3ko51/9nuLs1c=";
|
||||
};
|
||||
src = pins.minio-console;
|
||||
|
||||
vendorSha256 = "sha256-h1yIpn5XF7+UeSr1hZEUcKro634zrObvE1ies8yVeGE=";
|
||||
|
||||
|
|
|
@ -1,5 +1,19 @@
|
|||
{
|
||||
"pins": {
|
||||
"minio-console": {
|
||||
"type": "GitRelease",
|
||||
"repository": {
|
||||
"type": "GitHub",
|
||||
"owner": "minio",
|
||||
"repo": "console"
|
||||
},
|
||||
"pre_releases": false,
|
||||
"version_upper_bound": null,
|
||||
"version": "v0.15.1",
|
||||
"revision": "d20be7f836667c477e004ead6329fa8586a7f61c",
|
||||
"url": "https://api.github.com/repos/minio/console/tarball/v0.15.1",
|
||||
"hash": "0mxkidxzczwxlgj7v2130m865llck7czlik222zzvm2mjda07vng"
|
||||
},
|
||||
"searxng": {
|
||||
"type": "Git",
|
||||
"repository": {
|
||||
|
|
Loading…
Reference in a new issue