diff options
author | Luca Bruno <lucabru@src.gnome.org> | 2016-08-12 22:08:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-12 22:08:29 +0100 |
commit | c8ca30fe2a80ea6223fb2293e4980e0a1e157013 (patch) | |
tree | 1b055b87c7e0f99873cfda5a4b7a6ec84bbfe3b7 /pkgs/applications | |
parent | a10886dfdc1969922c6a8307fcd4386a351e98bc (diff) | |
parent | 3f6d3faf1e9b057fc37e2dc2a519ee725bf5bb38 (diff) |
Merge pull request #17247 from lucas8/yadm
yadm: init at 1.04
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/version-management/yadm/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/applications/version-management/yadm/default.nix b/pkgs/applications/version-management/yadm/default.nix new file mode 100644 index 0000000000000..7990f996ec3a6 --- /dev/null +++ b/pkgs/applications/version-management/yadm/default.nix @@ -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; + }; +} |