nixpkgs-suyu/pkgs/tools/X11/dispad/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

23 lines
618 B
Nix

{ stdenv, fetchFromGitHub, libX11, libXi, libconfuse }:
stdenv.mkDerivation rec {
pname = "dispad";
version = "0.3.1";
src = fetchFromGitHub {
owner = "BlueDragonX";
repo = "dispad";
rev = "v${version}";
sha256 = "0y0n9mf1hs3s706gkpmg1lh74m6vvkqc9rdbzgc6s2k7vdl2zp1y";
};
buildInputs = [ libX11 libXi libconfuse ];
meta = with stdenv.lib; {
description = "A small daemon for disabling trackpads while typing";
homepage = https://github.com/BlueDragonX/dispad;
license = licenses.gpl2;
maintainers = with maintainers; [ zimbatm ];
platforms = platforms.linux;
};
}