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:
parent
5c8c258727
commit
396965fa58
27
pkgs/tools/misc/automirror/default.nix
Normal file
27
pkgs/tools/misc/automirror/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue