From 5430af2013535e48facb1f660565db70aebb7e6b Mon Sep 17 00:00:00 2001 From: Alex Martens Date: Sat, 2 Oct 2021 09:03:01 -0700 Subject: [PATCH] dwfv: init at 0.4.1 --- .../science/electronics/dwfv/default.nix | 20 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 22 insertions(+) create mode 100644 pkgs/applications/science/electronics/dwfv/default.nix diff --git a/pkgs/applications/science/electronics/dwfv/default.nix b/pkgs/applications/science/electronics/dwfv/default.nix new file mode 100644 index 000000000000..ed340271f262 --- /dev/null +++ b/pkgs/applications/science/electronics/dwfv/default.nix @@ -0,0 +1,20 @@ +{ lib, rustPlatform, fetchCrate }: + +rustPlatform.buildRustPackage rec { + pname = "dwfv"; + version = "0.4.1"; + + src = fetchCrate { + inherit version pname; + sha256 = "0xxgwbbbzaldbl04k5ksk61wa6i4f9mc84q04ljg438z0k8q6cr7"; + }; + + cargoSha256 = "1z51yx3psdxdzmwny0rzlch5hjx2pssll73q79qij2bc7wgyjscy"; + + meta = with lib; { + description = "A simple digital waveform viewer with vi-like key bindings"; + homepage = "https://github.com/psurply/dwfv"; + license = licenses.mit; + maintainers = with maintainers; [ newam ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c3767b069607..f974f5d93b90 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -14050,6 +14050,8 @@ with pkgs; drush = callPackage ../development/tools/misc/drush { }; + dwfv = callPackage ../applications/science/electronics/dwfv { }; + dwz = callPackage ../development/tools/misc/dwz { }; easypdkprog = callPackage ../development/embedded/easypdkprog { };