mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-22 12:04:40 +00:00
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:
parent
4c04286693
commit
2d3e77efa8
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user