1 { lib, stdenv, fetchFromGitLab, libX11, xorgproto }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitLab {
8 owner = "amiloradovsky";
11 sha256 = "1ngnp5f5zl3v35vhbdyjpymy6mwrs0476fm5nd7dzkba7n841jdh";
14 prePatch = "substituteInPlace ./Makefile --replace /usr $out";
16 buildInputs = [ libX11 xorgproto ];
19 description = "Tiny screen magnifier for X11";
20 homepage = "https://gitlab.com/amiloradovsky/magnify";
21 license = licenses.mit; # or GPL2+, optionally
22 maintainers = with maintainers; [ amiloradovsky ];
23 mainProgram = "magnify";
24 platforms = platforms.all;