nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook, glib, pcre }:
2
3stdenv.mkDerivation {
4 pname = "rdup";
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 pkg-config ];
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 = lib.licenses.gpl3;
21 platforms = lib.platforms.linux;
22 maintainers = with lib.maintainers; [ sternenseemann ];
23 };
24}