Commit Graph

7 Commits

Author SHA1 Message Date
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
Chris Ostrouchov
b6e82f457e pythonPackages.pysqlite: refactor move to python-modules 2018-10-27 09:07:22 +02:00
Ludovic Courtès
3997cb99fd pysqlite: Move to `python-packages.nix'.
svn path=/nixpkgs/trunk/; revision=16229
2009-07-07 22:30:29 +00:00
Ludovic Courtès
09fbef5e2b pysqlite 2.5.5.
svn path=/nixpkgs/trunk/; revision=16228
2009-07-07 22:20:53 +00:00
Marc Weber
38c5e4fc67 moved pysqlite into PYTHON MODULES section
svn path=/nixpkgs/trunk/; revision=12964
2008-10-05 18:37:09 +00:00