From 1625749514034bb8dae07ffe81a3611b92e85fa1 Mon Sep 17 00:00:00 2001 From: Tungsten842 <886724vf@anonaddy.me> Date: Sat, 11 Mar 2023 11:46:54 +0100 Subject: [PATCH] evhz: init at unstable-2021-09-20 --- pkgs/tools/misc/evhz/default.nix | 31 +++++++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 33 insertions(+) create mode 100644 pkgs/tools/misc/evhz/default.nix diff --git a/pkgs/tools/misc/evhz/default.nix b/pkgs/tools/misc/evhz/default.nix new file mode 100644 index 000000000000..703dcae083a3 --- /dev/null +++ b/pkgs/tools/misc/evhz/default.nix @@ -0,0 +1,31 @@ +{ lib +, stdenv +, fetchFromSourcehut +}: + +stdenv.mkDerivation { + pname = "evhz"; + version = "unstable-2021-09-20"; + + src = fetchFromSourcehut { + owner = "~iank"; + repo = "evhz"; + rev = "35b7526e0655522bbdf92f6384f4e9dff74f38a0"; + hash = "sha256-lC0CeN9YVhkSiooC59Dbom811jHvPDQcYl+KADUwVdQ="; + }; + + buildPhase = "gcc -o evhz evhz.c"; + + installPhase = '' + mkdir -p $out/bin + mv evhz $out/bin + ''; + + meta = with lib; { + description = "Show mouse refresh rate under linux + evdev"; + homepage = "https://git.sr.ht/~iank/evhz"; + license = licenses.gpl3; + maintainers = with maintainers; [ Tungsten842 ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ca2740c734fb..ab77e8419272 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -518,6 +518,8 @@ with pkgs; evans = callPackage ../development/tools/evans { }; + evhz = callPackage ../tools/misc/evhz { }; + expressvpn = callPackage ../applications/networking/expressvpn { }; figma-linux = callPackage ../applications/graphics/figma-linux {};