From 37776fcf8ca8b93a1c2a46f9323be97913113fbd Mon Sep 17 00:00:00 2001 From: Artemis Tosini Date: Fri, 22 Mar 2024 23:00:52 +0000 Subject: [PATCH] update jlink --- flake.lock | 6 +++--- packages/jlink/update.py | 3 +++ packages/jlink/version.json | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/flake.lock b/flake.lock index ec40816..7a475e8 100644 --- a/flake.lock +++ b/flake.lock @@ -2,11 +2,11 @@ "nodes": { "nixpkgs": { "locked": { - "lastModified": 1710503106, - "narHash": "sha256-WQenjcuNH9cnEYqh/PFxpmjK9PQnEPGt1Z7TCfYBhXs=", + "lastModified": 1711106783, + "narHash": "sha256-PDwAcHahc6hEimyrgGmFdft75gmLrJOZ0txX7lFqq+I=", "owner": "nixos", "repo": "nixpkgs", - "rev": "b1d47989352fcb722a1f19295a9461ed1ef8435a", + "rev": "a3ed7406349a9335cb4c2a71369b697cecd9d351", "type": "github" }, "original": { diff --git a/packages/jlink/update.py b/packages/jlink/update.py index 725e778..95842c9 100755 --- a/packages/jlink/update.py +++ b/packages/jlink/update.py @@ -34,6 +34,9 @@ for nix_arch, jlink_arch in arches: out = subprocess.run( [ "nix-prefetch", + "--option", + "extra-experimental-features", + "flakes", f'{{fetchurl}}: fetchurl {{ url = "{url}"; curlOpts = "{CURL_OPTS}"; }}', ], stdout=subprocess.PIPE, diff --git a/packages/jlink/version.json b/packages/jlink/version.json index 3acd015..73a3bcc 100644 --- a/packages/jlink/version.json +++ b/packages/jlink/version.json @@ -1 +1 @@ -{"x86_64-linux": {"url": "https://www.segger.com/downloads/jlink/JLink_Linux_V796_x86_64.tgz", "version": "7.96", "curlOpts": "-d accept_license_agreement=accepted -d submit=Download+software", "hash": "sha256-TA2l3Lj3M/6G4ju7UzYSbLRK+Ku+PlrE/2xYn1MpNg8="}, "i686-linux": {"url": "https://www.segger.com/downloads/jlink/JLink_Linux_V796_i686.tgz", "version": "7.96", "curlOpts": "-d accept_license_agreement=accepted -d submit=Download+software", "hash": "sha256-PWhxg7mKmUjZ1hcS7hodZJPvTYhKdSnfOP3TxfLmM3k="}, "armv7l-linux": {"url": "https://www.segger.com/downloads/jlink/JLink_Linux_V796_arm.tgz", "version": "7.96", "curlOpts": "-d accept_license_agreement=accepted -d submit=Download+software", "hash": "sha256-rMnqqCFx6R5c4NRCIHZn2TtbPwU/TgByQAXkP3E0d3A="}, "aarch64-linux": {"url": "https://www.segger.com/downloads/jlink/JLink_Linux_V796_arm64.tgz", "version": "7.96", "curlOpts": "-d accept_license_agreement=accepted -d submit=Download+software", "hash": "sha256-flEQ9osA1sMNaR4rrbWou0EtWr/5L1lTn5rQETmyvUY="}} \ No newline at end of file +{"x86_64-linux": {"url": "https://www.segger.com/downloads/jlink/JLink_Linux_V796b_x86_64.tgz", "version": "7.96b", "curlOpts": "-d accept_license_agreement=accepted -d submit=Download+software", "hash": "sha256-UsDP+wMS7ZeWMQBObwv5RxbwuWU8nLnHes7LEXK6imE="}, "i686-linux": {"url": "https://www.segger.com/downloads/jlink/JLink_Linux_V796b_i686.tgz", "version": "7.96b", "curlOpts": "-d accept_license_agreement=accepted -d submit=Download+software", "hash": "sha256-FhKc5FkVQzUDJ1oGDGDgDxadjbx0IX3zOaW9ru5YiI8="}, "armv7l-linux": {"url": "https://www.segger.com/downloads/jlink/JLink_Linux_V796b_arm.tgz", "version": "7.96b", "curlOpts": "-d accept_license_agreement=accepted -d submit=Download+software", "hash": "sha256-6nTQGQpkbqQntheQqiUAdVS4rp30nl2KRUn5Adsfeoo="}, "aarch64-linux": {"url": "https://www.segger.com/downloads/jlink/JLink_Linux_V796b_arm64.tgz", "version": "7.96b", "curlOpts": "-d accept_license_agreement=accepted -d submit=Download+software", "hash": "sha256-ueIGdqfuIRCuEwaPkgZMgghO9DU11IboLLMryg/mxQ8="}} \ No newline at end of file