mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
matrix-hookshot: 7.3.3 -> 7.4.0
Diff: https://github.com/matrix-org/matrix-hookshot/compare/7.3.3...7.4.0
Changelog: https://github.com/matrix-org/matrix-hookshot/blob/7.4.0/CHANGELOG.md
Also includes a platforms tweak to permit building on darwin
(cherry picked from commit 44f82dd660)
This commit is contained in:
@@ -18,23 +18,23 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "matrix-hookshot";
|
||||
version = "7.3.3";
|
||||
version = "7.4.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "matrix-org";
|
||||
repo = "matrix-hookshot";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-SVQsXzQU3TTiKjd1manEsqL/Ui6s/sFoZPBf9mWp31k=";
|
||||
hash = "sha256-Nsbs3m1sFQaJGqVW8Jk8kSMYXrRnqLBVs6glpuP76ps=";
|
||||
};
|
||||
|
||||
offlineCache = fetchYarnDeps {
|
||||
inherit (finalAttrs) src;
|
||||
hash = "sha256-1J2a0ZRARYOEQE70WnKZlgwjIwafPfmgBtUVXX106lg=";
|
||||
hash = "sha256-93g8DvTZACDhURoMCaeg5Zqpk1dnbOqscRkSV9lnYCI=";
|
||||
};
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoVendor {
|
||||
inherit (finalAttrs) pname version src;
|
||||
hash = "sha256-EMwrIo17d5+LTczv4/+4m6XALfH0dCHnWtBU17h+mxI=";
|
||||
hash = "sha256-FKCzafDeqJs1o24H+Qy/9vRJeG5bEa+/y+yp4T2ADVg=";
|
||||
};
|
||||
|
||||
buildInputs = [ openssl ];
|
||||
@@ -62,7 +62,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
runHook preBuild
|
||||
|
||||
yarn run build:app:rs --target ${stdenv.hostPlatform.rust.rustcTargetSpec}
|
||||
yarn run build:app:fix-defs
|
||||
yarn run build:app
|
||||
yarn run build:web
|
||||
|
||||
@@ -105,6 +104,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
mainProgram = "matrix-hookshot";
|
||||
maintainers = with lib.maintainers; [ chvp ];
|
||||
license = lib.licenses.asl20;
|
||||
platforms = lib.platforms.linux;
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user