nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchFromGitLab,
5 autoreconfHook,
6 versionCheckHook,
7 nix-update-script,
8 bzip2,
9 db,
10 gpgme,
11 libarchive,
12 xz,
13 zlib,
14}:
15
16stdenv.mkDerivation (finalAttrs: {
17 pname = "reprepro";
18 version = "5.4.7";
19
20 src = fetchFromGitLab {
21 domain = "salsa.debian.org";
22 owner = "debian";
23 repo = "reprepro";
24 tag = "reprepro-${finalAttrs.version}";
25 hash = "sha256-bGfVWOmcXvaE+t9jiZFrnaUTKVPJqGqbPFyThhKK8gQ=";
26 };
27
28 buildInputs = [
29 bzip2
30 db
31 gpgme
32 libarchive
33 xz
34 zlib
35 ];
36
37 nativeBuildInputs = [
38 autoreconfHook
39 versionCheckHook
40 ];
41
42 doInstallCheck = true;
43 passthru.updateScript = nix-update-script { };
44
45 meta = {
46 homepage = "https://salsa.debian.org/debian/reprepro/";
47 description = "Debian package repository producer";
48 license = lib.licenses.gpl2;
49 maintainers = with lib.maintainers; [ baloo ];
50 platforms = lib.platforms.all;
51 mainProgram = "reprepro";
52 };
53})