Commit 2d3e77ef authored by Otavio Salvador's avatar Otavio Salvador
Browse files

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: default avatarOtavio Salvador <otavio@ossystems.com.br>
parent 4c042866
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
{ 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 = {