Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchFromGitHub, autoreconfHook, libtool }:
2
3stdenv.mkDerivation rec {
4 version="1.36";
5 pname = "mxt-app";
6
7 src = fetchFromGitHub {
8 owner = "atmel-maxtouch";
9 repo = "mxt-app";
10 rev = "v${version}";
11 sha256 = "sha256-hS/4d7HUCoulY73Sn1+IAb/IWD4VDht78Tn2jdluzhU=";
12 };
13
14 nativeBuildInputs = [ autoreconfHook ];
15 buildInputs = [ libtool ];
16
17 hardeningDisable = [ "fortify" ];
18
19 meta = with lib; {
20 description = "Command line utility for Atmel maXTouch devices";
21 homepage = "https://github.com/atmel-maxtouch/mxt-app";
22 license = licenses.bsd2;
23 maintainers = [ maintainers.colemickens ];
24 platforms = platforms.linux;
25 };
26}