@@ -0,0 +1,24 @@
1+{ stdenv, fetchFromGitHub, pkgconfig, autoreconfHook, glib, pcre }:
2+
3+stdenv.mkDerivation rec {
4+ name = "rdup-${version}";
5+ version = "1.1.15";
6+
7+ src = fetchFromGitHub {
8+ owner = "miekg";
9+ repo = "rdup";
10+ rev = "d66e4320cd0bbcc83253baddafe87f9e0e83caa6";
11+ sha256 = "0bzyv6qmnivxnv9nw7lnfn46k0m1dlxcjj53zcva6v8y8084l1iw";
12+ };
13+
14+ nativeBuildInputs = [ autoreconfHook pkgconfig ];
15+ buildInputs = [ glib pcre ];
16+
17+ meta = {
18+ description = "The only backup program that doesn't make backups";
19+ homepage = "https://github.com/miekg/rdup";
20+ license = stdenv.lib.licenses.gpl3;
21+ platforms = stdenv.lib.platforms.linux;
22+ maintainers = with stdenv.lib.maintainers; [ lukasepple ];
23+ };
24+}