wch-isp: 0.4.0 -> 0.4.1, move source to sr.ht

Primary development seems to be on sr.ht. 0.4.1 tag is not present on GH and
the project maintainer use the sr.ht URL in the Alpine and AUR packages.

Changes:
a6851b2b7e
This commit is contained in:
Thomas Gerbet 2024-01-17 23:43:00 +01:00
parent ed2ea66bbf
commit 0e74653e1a
1 changed files with 6 additions and 6 deletions

View File

@ -1,14 +1,14 @@
{ lib, stdenv, fetchFromGitHub, pkg-config, libusb1 }:
{ lib, stdenv, fetchFromSourcehut, pkg-config, libusb1 }:
stdenv.mkDerivation rec {
pname = "wch-isp";
version = "0.4.0";
version = "0.4.1";
src = fetchFromGitHub {
owner = "jmaselbas";
src = fetchFromSourcehut {
owner = "~jmaselbas";
repo = pname;
rev = "v${version}";
hash = "sha256-cTePTpzvWf2DdInhBxFY72aVNb0SAlCHb/tUwNqqX1U=";
hash = "sha256-JB7cvZPzRhYJ8T3QJkguHOzZFrLOft5rRz0F0sVav/k=";
};
nativeBuildInputs = [ pkg-config ];
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Firmware programmer for WCH microcontrollers over USB";
license = lib.licenses.gpl2Only;
homepage = "https://github.com/jmaselbas/wch-isp";
homepage = "https://git.sr.ht/~jmaselbas/wch-isp";
maintainers = with lib.maintainers; [ lesuisse ];
platforms = lib.platforms.unix;
};