nixpkgs/pkgs/by-name/di/dispad/package.nix
nicoo 2641d97cbf pkgs/by-name: Convert hashes to SRI format
Reproduction script:
	# Bulk rewrite
	./maintainers/scripts/sha-to-sri.py pkgs/by-name
	# Revert some packages which will need manual intervention
	for n in amdvlk azure-cli cargo-profiler corefonts flatito fluxcd gist perf_data_converter protoc-gen-js solana-cli swt verible; do
		git checkout -- "pkgs/by-name/${n:0:2}/${n}"
	done
2024-09-15 11:24:31 +02:00

25 lines
645 B
Nix

{ lib, stdenv, fetchFromGitHub, libX11, libXi, libconfuse }:
stdenv.mkDerivation rec {
pname = "dispad";
version = "0.3.1";
src = fetchFromGitHub {
owner = "BlueDragonX";
repo = "dispad";
rev = "v${version}";
hash = "sha256-PtwvaNtnCm3Y+6vlxPDc21RyIA2v3vkMOHpoGFxNFng=";
};
buildInputs = [ libX11 libXi libconfuse ];
meta = with lib; {
description = "Small daemon for disabling trackpads while typing";
homepage = "https://github.com/BlueDragonX/dispad";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ zimbatm ];
platforms = platforms.linux;
mainProgram = "dispad";
};
}