sourcehut.buildsrht: 0.82.8 -> 0.83.0
This commit is contained in:
parent
608eb68fd8
commit
b0ae739c9d
@ -1,6 +1,5 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, fetchFromSourcehut
|
, fetchFromSourcehut
|
||||||
, fetchpatch
|
|
||||||
, buildGoModule
|
, buildGoModule
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, srht
|
, srht
|
||||||
@ -13,36 +12,27 @@
|
|||||||
, unzip
|
, unzip
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
version = "0.82.8";
|
version = "0.83.0";
|
||||||
|
|
||||||
src = fetchFromSourcehut {
|
src = fetchFromSourcehut {
|
||||||
owner = "~sircmpwn";
|
owner = "~sircmpwn";
|
||||||
repo = "builds.sr.ht";
|
repo = "builds.sr.ht";
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-M94zkEUJU8EwksN34sd5IkASDCQ0hHb98G5wzZsCrpg=";
|
hash = "sha256-u/y+sYu/09LypWI/ngghbge5SvkuLQpray10j0SjlOo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildsrht-api = buildGoModule ({
|
buildsrht-api = buildGoModule ({
|
||||||
inherit src version;
|
inherit src version;
|
||||||
pname = "buildsrht-api";
|
pname = "buildsrht-api";
|
||||||
modRoot = "api";
|
modRoot = "api";
|
||||||
vendorHash = "sha256-8z5m4bMwLeYg4i91MMjLMqbciWvqS0icCHFUJTUHBgk=";
|
vendorHash = "sha256-DfVWr/4J4ZrhHpy9CXPaAQcbag/9FmDgiexcNo0lEsk=";
|
||||||
} // import ./fix-gqlgen-trimpath.nix { inherit unzip; });
|
} // import ./fix-gqlgen-trimpath.nix { inherit unzip; gqlgenVersion= "0.17.20"; });
|
||||||
|
|
||||||
buildsrht-worker = buildGoModule {
|
buildsrht-worker = buildGoModule {
|
||||||
inherit src version;
|
inherit src version;
|
||||||
sourceRoot = "source/worker";
|
sourceRoot = "source/worker";
|
||||||
pname = "buildsrht-worker";
|
pname = "buildsrht-worker";
|
||||||
vendorHash = "sha256-y5RFPbtaGmgPpiV2Q3njeWORGZF1TJRjAbY6VgC1hek=";
|
vendorHash = "sha256-y5RFPbtaGmgPpiV2Q3njeWORGZF1TJRjAbY6VgC1hek=";
|
||||||
|
|
||||||
patches = [
|
|
||||||
(fetchpatch {
|
|
||||||
name = "update-x-sys-for-go-1.18-on-aarch64-darwin.patch";
|
|
||||||
url = "https://git.sr.ht/~sircmpwn/builds.sr.ht/commit/f58bbde6bfed7d2321a3b17e991c91fc83d4c230.patch";
|
|
||||||
stripLen = 1;
|
|
||||||
hash = "sha256-vQR/T5G5Gz5tY+SEZZabsbnFKW44b+Bs+GDdydyeCDs=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
Loading…
Reference in New Issue
Block a user