mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
homebox: 0.13.0 -> 0.15.2
The new version requires go-1.23+.
This commit is contained in:
parent
f4a1842ad5
commit
9a34180788
@ -1,34 +1,34 @@
|
||||
{
|
||||
lib,
|
||||
buildGoModule,
|
||||
buildGo123Module,
|
||||
fetchFromGitHub,
|
||||
pnpm,
|
||||
nodejs,
|
||||
go,
|
||||
go_1_23,
|
||||
git,
|
||||
cacert,
|
||||
nixosTests,
|
||||
}:
|
||||
let
|
||||
pname = "homebox";
|
||||
version = "0.13.0";
|
||||
version = "0.15.2";
|
||||
src = fetchFromGitHub {
|
||||
owner = "sysadminsmedia";
|
||||
repo = "homebox";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-mhb4q0ja94TjvOzl28WVb3uzkR9MKlqifFJgUo6hfrA=";
|
||||
hash = "sha256-2jB2Oo0dK36n5tQPrGNyPO3Q0yNkUms4RPQzXiDzuks=";
|
||||
};
|
||||
in
|
||||
buildGoModule {
|
||||
buildGo123Module {
|
||||
inherit pname version src;
|
||||
|
||||
vendorHash = "sha256-QRmP6ichKjwDWEx13sEs1oetc4nojGyJnKafAATTNTA=";
|
||||
vendorHash = "sha256-Ftm5tR3w8S3mjYLJG0+17nYP5kDbaAd8QkbZpNt7WuE=";
|
||||
modRoot = "backend";
|
||||
# the goModules derivation inherits our buildInputs and buildPhases
|
||||
# Since we do pnpm thing in those it fails if we don't explicitely remove them
|
||||
overrideModAttrs = _: {
|
||||
nativeBuildInputs = [
|
||||
go
|
||||
go_1_23
|
||||
git
|
||||
cacert
|
||||
];
|
||||
@ -38,7 +38,7 @@ buildGoModule {
|
||||
pnpmDeps = pnpm.fetchDeps {
|
||||
inherit pname version;
|
||||
src = "${src}/frontend";
|
||||
hash = "sha256-MdTZJ/Ichpwc54r7jZjiFD12YOdRzHSuzRZ/PnDk2mY=";
|
||||
hash = "sha256-SyKET+W9Fn1WETzF4KlAtLOzNI/DOavHUbC7Yfv6kFw=";
|
||||
};
|
||||
pnpmRoot = "../frontend";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user