Merge pull request #17247 from lucas8/yadm

yadm: init at 1.04
This commit is contained in:
Luca Bruno 2016-08-12 22:08:29 +01:00 committed by GitHub
commit c8ca30fe2a
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,34 @@
{ stdenv, fetchurl, fetchFromGitHub }:
let version = "1.04"; in
stdenv.mkDerivation {
name = "yadm-${version}";
src = fetchFromGitHub {
owner = "TheLocehiliosan";
repo = "yadm";
rev = "${version}";
sha256 = "1g5nz4y63ccxlbz67klm78525ps41ynis8683iayakg4907vd898";
};
buildCommand = ''
mkdir -p $out/bin
mkdir -p $out/share/man/man1
sed -e 's:/bin/bash:/usr/bin/env bash:' $src/yadm > $out/bin/yadm
chmod 755 $out/bin/yadm
install -m 644 $src/yadm.1 $out/share/man/man1/yadm.1
'';
meta = {
homepage = "https://github.com/TheLocehiliosan/yadm";
description = "Yet Another Dotfiles Manager";
longDescription = ''
yadm is a dotfile management tool with 3 main features: Manages files across
systems using a single Git repository. Provides a way to use alternate files on
a specific OS or host. Supplies a method of encrypting confidential data so it
can safely be stored in your repository.
'';
licence = stdenv.lib.licenses.gpl3;
platforms = stdenv.lib.platforms.unix;
};
}

View File

@ -17609,6 +17609,8 @@ in
qt = qt4;
};
yadm = callPackage ../applications/version-management/yadm { };
yafc = callPackage ../applications/networking/yafc { };
yamdi = callPackage ../tools/video/yamdi { };