Commit Graph

18 Commits

Author SHA1 Message Date
Ben Siraphob
8c5d37129f pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +07:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Patrick Hilhorst
593e11fd94
treewide: fix redirected urls
According to https://repology.org/repository/nix_unstable/problems, we have a
lot of packages that have http links that redirect to https as their homepage.
This commit updates all these packages to use the https links as their
homepage.

The following script was used to make these updates:

```

curl https://repology.org/api/v1/repository/nix_unstable/problems \
    | jq '.[] | .problem' -r \
    | rg 'Homepage link "(.+)" is a permanent redirect to "(.+)" and should be updated' --replace 's@$1@$2@' \
    | sort | uniq > script.sed

find -name '*.nix' | xargs -P4 -- sed -f script.sed -i
```
2020-01-22 11:26:22 +01:00
R. RyanTM
702863b40f rsnapshot: 1.4.2 -> 1.4.3 2019-12-24 07:03:18 -08:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Matthias Beyer
d7914d8f0a rsnapshot: 1.4.1 -> 1.4.2 2016-05-16 16:12:22 +02:00
Alexei Robyn
3f35d670de rsnapshot: Remove unnecessary argument, refactor one-line patch to flags. 2016-05-12 09:27:59 +10:00
Eelco Dolstra
d13dc12987 rsnapshot: 1.3.1 -> 1.4.1 2015-12-04 12:19:45 +01:00
Aristid Breitkreuz
b6314fdad6 rsnapshot: add (commented) code for an idea that did not work out yet 2014-10-27 21:02:04 +01:00
Aristid Breitkreuz
93f2c180d0 rsnapshot: add git version & make it configurable in the nixos module 2014-10-27 20:38:39 +01:00
Bjørn Forsman
6aaf3cb54b rsnapshot: set meta.platforms 2014-10-01 22:29:33 +02:00
Mateusz Kowalczyk
7a45996233 Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
Aristid Breitkreuz
c80556f630 rsnapshot 1.3.1 2013-10-05 23:07:52 +02:00
Aristid Breitkreuz
80924c8f3c rsnapshot: configurable configuration file path
default value: /etc/rsnapshot.conf
2013-10-05 20:48:03 +02:00
Shea Levy
947651b6c2 rsnapshot: Fix URL.
Thanks to ebzzry on IRC for pointing this out.
2013-02-15 09:26:18 -05:00
Eelco Dolstra
fcad0b0a5a * Cleaned up a lot of description fields that contained newlines.
Some of these should be longDescriptions, but most others just
  shouldn't contain newlines.  E.g. write

    description = "Bla";

  and not

    description = ''
      Bla
    '';

  This pollutes "nix-env -qa --description" output.

svn path=/nixpkgs/trunk/; revision=14310
2009-03-03 13:27:40 +00:00
Ludovic Courtès
d8bcaa4398 Add rsnapshot, an rsync-based remote backup tool.
svn path=/nixpkgs/trunk/; revision=11009
2008-03-07 09:33:51 +00:00