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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
625 B
Nix
Raw Normal View History

{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
meta = with 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;
2023-11-27 01:17:53 +00:00
mainProgram = "automirror";
2019-02-21 13:59:23 +00:00
};
}