nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig
2, acl, librsync, ncurses, openssl, zlib, uthash }:
3
4stdenv.mkDerivation rec {
5 name = "burp-${version}";
6 version = "2.2.18";
7
8 src = fetchFromGitHub {
9 owner = "grke";
10 repo = "burp";
11 rev = version;
12 sha256 = "1zhq240kz881vs2s620qp0kifmgr582caalm85ls789w9rmdkhjl";
13 };
14
15 nativeBuildInputs = [ autoreconfHook pkgconfig ];
16 buildInputs = [ librsync ncurses openssl zlib uthash ]
17 ++ stdenv.lib.optional (!stdenv.isDarwin) acl;
18
19 configureFlags = [ "--localstatedir=/var" ];
20
21 installFlags = [ "localstatedir=/tmp" ];
22
23 meta = with stdenv.lib; {
24 description = "BURP - BackUp and Restore Program";
25 homepage = https://burp.grke.org;
26 license = licenses.agpl3;
27 maintainers = with maintainers; [ tokudan ];
28 platforms = platforms.all;
29 };
30}