Merge pull request #235290 from otavio/fix/snagboot

snagboot: replace fetchPypi with fetchFromGitHub
This commit is contained in:
Nick Cao 2023-05-31 20:51:24 -06:00 committed by GitHub
commit cc9944f76b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
{ lib
, stdenv
, fetchPypi
, fetchFromGitHub
, pythonRelaxDepsHook
, python3
, snagboot
@ -13,9 +13,11 @@ python3.pkgs.buildPythonApplication rec {
version = "1.0";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-wtIcrd3s/ZfdYqi2a2+IvVYnJie5txJy6d2m+GjuhxU=";
src = fetchFromGitHub {
owner = "bootlin";
repo = "snagboot";
rev = "v${version}";
hash = "sha256-QqGeELm2seX3tIKQvuXp9VsNDah+m9FNcaEVk6TMP0U=";
};
passthru = {