1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

init automirror at v49

This commit is contained in:
GRBurst 2019-02-21 14:59:23 +01:00
parent 5c8c258727
commit 396965fa58
2 changed files with 29 additions and 0 deletions

View file

@ -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;
};
}

View file

@ -638,6 +638,8 @@ in
autorevision = callPackage ../tools/misc/autorevision { };
automirror = callPackage ../tools/misc/automirror { };
bcachefs-tools = callPackage ../tools/filesystems/bcachefs-tools { };
bitwarden-cli = callPackage ../tools/security/bitwarden-cli { };