Commit 0e74653e authored by Thomas Gerbet's avatar Thomas Gerbet
Browse files

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:
https://git.sr.ht/~jmaselbas/wch-isp/log/a6851b2b7e9a48a7041cfb66f0f8c2e7a3f112d8
parent ed2ea66b
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
{ 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;
  };