Skip to content
Permalink
Browse files

restorething: init at 0.2.5

  • Loading branch information
peterhoeg committed Jan 31, 2018
1 parent 499b3ed commit 10ae86c434f406e5217b1392aa06f2eb66ab240a
Showing with 35 additions and 0 deletions.
  1. +33 −0 pkgs/applications/networking/syncthing/restorething.nix
  2. +2 −0 pkgs/top-level/all-packages.nix
@@ -0,0 +1,33 @@
{ stdenv, lib, fetchFromGitHub, python2Packages, removeReferencesTo }:

with python2Packages;

buildPythonApplication rec {
name = "restorething-${version}";
version = "0.2.5";

src = fetchFromGitHub {
owner = "madmickstar";
repo = "restorething";
rev = "v${version}";
sha256 = "1q9c5mfni8gg3iagmbw5ka96cp7bkk1vy8bvn1xmw21arz4zwz27";
};

postInstall = ''
mkdir -p $out/bin
makeWrapper ${python.interpreter} $out/bin/restorething \
--argv0 restorething \
--prefix PYTHONPATH : $out/${python.sitePackages} \
--add-flags "-m restorething"
'';

doCheck = false; # no tests available

meta = with stdenv.lib; {
description = "Restore tool for syncthing ";
homepage = https://github.com/madmickstar/restorething;
license = licenses.mit;
maintainers = with maintainers; [ peterhoeg ];
platforms = platforms.unix;
};
}

syncplay = callPackage ../applications/networking/syncplay { };

restorething = callPackage ../applications/networking/syncthing/restorething.nix { };

syncthing = callPackage ../applications/networking/syncthing { };

syncthing012 = callPackage ../applications/networking/syncthing012 { };

0 comments on commit 10ae86c

Please sign in to comment.
You can’t perform that action at this time.