diff options
author | GRBurst <GRBurst@protonmail.com> | 2019-02-21 14:59:23 +0100 |
---|---|---|
committer | GRBurst <GRBurst@protonmail.com> | 2019-02-22 09:46:31 +0100 |
commit | 396965fa588c87f8a7a562da51346a70d19fcea6 (patch) | |
tree | df4ff9fc0b004c6391ab0decafc7554779ced3e7 /pkgs/tools/misc/automirror | |
parent | 5c8c2587276506e61ec51e4b7d6c9288fd226794 (diff) |
init automirror at v49
Diffstat (limited to 'pkgs/tools/misc/automirror')
-rw-r--r-- | pkgs/tools/misc/automirror/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/tools/misc/automirror/default.nix b/pkgs/tools/misc/automirror/default.nix new file mode 100644 index 0000000000000..3fd5205135702 --- /dev/null +++ b/pkgs/tools/misc/automirror/default.nix @@ -0,0 +1,27 @@ +{stdenv, fetchFromGitHub, git, ronn}: + +stdenv.mkDerivation rec { + name = "${pname}-${version}"; + 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)"; + + meta = with stdenv.lib; { + homepage = https://github.com/schlomo/automirror; + description = "Automatic Display Mirror"; + license = licenses.gpl3; + platforms = platforms.all; + }; +} |