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

27 lines
593 B
Nix
Raw Normal View History

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