Merge pull request #281645 from LeSuisse/wch-isp-0.4.1

wch-isp: 0.4.0 -> 0.4.1, move source to sr.ht
This commit is contained in:
Thomas Gerbet 2024-03-23 15:32:00 +01:00 committed by GitHub
commit d462bfebeb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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 ];
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
description = "Firmware programmer for WCH microcontrollers over USB";
mainProgram = "wch-isp";
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;
};