mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-06 21:13:40 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
25 lines
689 B
Nix
25 lines
689 B
Nix
{ lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook, glib, pcre }:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "rdup";
|
|
version = "1.1.15";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "miekg";
|
|
repo = "rdup";
|
|
rev = "d66e4320cd0bbcc83253baddafe87f9e0e83caa6";
|
|
sha256 = "0bzyv6qmnivxnv9nw7lnfn46k0m1dlxcjj53zcva6v8y8084l1iw";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
|
buildInputs = [ glib pcre ];
|
|
|
|
meta = {
|
|
description = "Only backup program that doesn't make backups";
|
|
homepage = "https://github.com/miekg/rdup";
|
|
license = lib.licenses.gpl3;
|
|
platforms = lib.platforms.linux;
|
|
maintainers = with lib.maintainers; [ sternenseemann ];
|
|
};
|
|
}
|