2021-01-15 22:18:51 +00:00
|
|
|
{lib, stdenv, fetchFromGitHub, git, ronn}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "automirror";
|
|
|
|
version = "49";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "schlomo";
|
|
|
|
repo = "automirror";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1syyf7dcm8fbyw31cpgmacg80h7pg036dayaaf0svvdsk0hqlsch";
|
|
|
|
};
|
|
|
|
|
|
|
|
patchPhase = "sed -i s#/usr##g Makefile";
|
|
|
|
|
|
|
|
buildInputs = [ git ronn ];
|
|
|
|
|
|
|
|
installFlags = [ "DESTDIR=$(out)" ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/schlomo/automirror";
|
|
|
|
description = "Automatic Display Mirror";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.all;
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "automirror";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|