snagboot: replace fetchPypi with fetchFromGitHub

The development and release is at GitHub so I'd prefer to use it and
keep my workflow for updating more standard. No changes other then that.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
Otavio Salvador 2023-05-31 20:08:00 -03:00
parent 4c04286693
commit 2d3e77efa8

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 = {