nixpkgs/pkgs/tools/misc/automirror/default.nix

27 lines
595 B
Nix
Raw Normal View History

2019-02-21 13:59:23 +00:00
{stdenv, fetchFromGitHub, git, ronn}:
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
meta = with stdenv.lib; {
homepage = "https://github.com/schlomo/automirror";
2019-02-21 13:59:23 +00:00
description = "Automatic Display Mirror";
license = licenses.gpl3;
platforms = platforms.all;
};
}