nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 autoreconfHook,
6 libtool,
7}:
8
9stdenv.mkDerivation rec {
10 version = "1.45";
11 pname = "mxt-app";
12
13 src = fetchFromGitHub {
14 owner = "atmel-maxtouch";
15 repo = "mxt-app";
16 rev = "v${version}";
17 sha256 = "sha256-kMVNakIzqGvT2+7plNsiqPdQ+0zuS7gh+YywF0hA1H4=";
18 };
19
20 nativeBuildInputs = [ autoreconfHook ];
21 buildInputs = [ libtool ];
22
23 hardeningDisable = [ "fortify" ];
24
25 meta = with lib; {
26 description = "Command line utility for Atmel maXTouch devices";
27 homepage = "https://github.com/atmel-maxtouch/mxt-app";
28 license = licenses.bsd2;
29 maintainers = [ ];
30 platforms = platforms.linux;
31 mainProgram = "mxt-app";
32 };
33}