aboutsummaryrefslogtreecommitdiff
path: root/nix/wchisp.nix
blob: 6d6b4eb6825e33825665c27d4d2e427c31ab0e41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
  fetchFromGitHub,
  lib,
  rustPlatform,
}:

rustPlatform.buildRustPackage {
  pname = "wchisp";
  version = "0.3.0";

  src = fetchFromGitHub {
    owner = "ch32-rs";
    repo = "wchisp";
    rev = "v0.3.0";
    hash = "sha256-CCZA+VegdNq9yYqN2ZI2vmI1OOtCcsYeKK6+VdvW2FE=";
  };

  cargoHash = "sha256-5kJ0MK0rUzyJvLZH/3nje+gTAM6et0mNE3sxVoK1L5s=";

  meta = {
    description = "WCH ISP Tool in Rust";
    homepage = "https://github.com/ch32-rs/wchisp";
    license = lib.licenses.gpl2Only;
    maintainers = [ lib.maintainers.remexre ];
  };
}