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