1
0
Fork 0

Use nvfetcher auto update

This commit is contained in:
Florian RICHER 2024-04-12 17:27:17 +02:00
parent b5168826bf
commit 98bebabaee
9 changed files with 95 additions and 26 deletions

View file

@ -1,5 +1,5 @@
{ pkgs }:
{ pkgs, sources }:
{
stripeMock = pkgs.callPackage ./stripe-mock.nix { };
stripe-mock = pkgs.callPackage ./stripe-mock.nix { source = sources.stripe-mock; };
}

View file

@ -1,17 +1,11 @@
{
lib,
buildGoModule,
fetchFromGitHub,
source,
}:
buildGoModule {
pname = "stripe-mock";
version = "v0.183.0";
inherit (source) pname version src;
vendorHash = null;
src = fetchFromGitHub {
owner = "stripe";
repo = "stripe-mock";
rev = "v0.183.0";
sha256 = "hdcINPrlE4bjSCOUJG64Ok1gz+jwYhf2RzT+eBK7dPM=";
};
}