mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 03:34:58 +00:00
wch-isp: init at 0.2.4
https://github.com/jmaselbas/wch-isp NixOS users can load the udev rule with `services.udev.packages = [ wch-isp ];`
This commit is contained in:
parent
e24c4f8cbb
commit
c7f579c80e
27
pkgs/development/embedded/wch-isp/default.nix
Normal file
27
pkgs/development/embedded/wch-isp/default.nix
Normal file
@ -0,0 +1,27 @@
|
||||
{ lib, stdenv, fetchFromGitHub, pkg-config, libusb1 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "wch-isp";
|
||||
version = "0.2.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jmaselbas";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-YjxzfDSZRMa7B+hNqtj87nRlRuQyr51VidZqHLddgwI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ libusb1 ];
|
||||
|
||||
installFlags = [ "DESTDIR=$(out)" "PREFIX=" ];
|
||||
installTargets = [ "install" "install-rules" ];
|
||||
|
||||
meta = {
|
||||
description = "Firmware programmer for WCH microcontrollers over USB";
|
||||
license = lib.licenses.gpl2Only;
|
||||
homepage = "https://github.com/jmaselbas/wch-isp";
|
||||
maintainers = with lib.maintainers; [ lesuisse ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
@ -19086,6 +19086,8 @@ with pkgs;
|
||||
|
||||
uisp = callPackage ../development/embedded/uisp { };
|
||||
|
||||
wch-isp = callPackage ../development/embedded/wch-isp { };
|
||||
|
||||
uncrustify = callPackage ../development/tools/misc/uncrustify { };
|
||||
|
||||
universal-ctags = callPackage ../development/tools/misc/universal-ctags { };
|
||||
|
Loading…
Reference in New Issue
Block a user