streamcontroller: Use commit hash to fetch releases (#358608)

This commit is contained in:
Peder Bergebakken Sundt 2024-11-25 05:45:21 +01:00 committed by GitHub
commit 6561131f8d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,12 +17,15 @@ stdenv.mkDerivation rec {
pname = "streamcontroller";
version = "1.5.0-beta.7";
# We have to hardcode revision because upstream often create multiple releases for the same version number.
# This is the commit hash that maps to 1.5.0-beta.7 released on 2024-11-20
rev = "45b5bc72f617c5aea306450d6592da66ade53568";
src = fetchFromGitHub {
repo = "StreamController";
owner = "StreamController";
rev = version;
hash = "sha256-w2ElVus0dgA375lv58q3H8ZmQ+8iBxC4vxtJSlKssoM=";
inherit rev;
hash = "sha256-tgbqURtqp1KbzOfXo4b4Dp3N8Sg8xcUSTwdEFXq+f6w=";
};
# The installation method documented upstream