2021-01-11 08:54:33 +01:00
|
|
|
{lib, stdenv, fetchFromGitHub, git, ronn}:
|
2019-02-21 14:59:23 +01: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 ];
|
|
|
|
|
2019-11-05 02:10:31 +01:00
|
|
|
installFlags = [ "DESTDIR=$(out)" ];
|
2019-02-21 14:59:23 +01:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/schlomo/automirror";
|
2019-02-21 14:59:23 +01:00
|
|
|
description = "Automatic Display Mirror";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|