Commit graph

15 commits

Author SHA1 Message Date
Pavol Rusnak a6ce00c50c
treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01: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
R. RyanTM 0597dcb0c5 python37Packages.bumps: 0.7.18 -> 0.8.0 2020-12-23 09:45:32 -08:00
R. RyanTM d8834caa75 python27Packages.bumps: 0.7.16 -> 0.7.18 2020-11-29 15:49:58 +00:00
Patrick Hilhorst f7e390e6d4 treewide: fix redirected urls (run 3)
Related:
 - 9fc5e7e473
 - 593e11fd94
 - 508ae42a0f

Since the last time I ran this script, the Repology API changed, so I had to
adapt the script used in the previous PR. The new API should be more robust, so
overall this is a positive (no more grepping the error messages for our relevant
data but just a nice json structure).

Here's the new script I used:

```sh
curl https://repology.org/api/v1/repository/nix_unstable/problems \
   | jq -r '.[] | select(.type == "homepage_permanent_https_redirect") | .data | "s@\(.url)@\(.target)@"' \
   | sort | uniq | tee script.sed
find -name '*.nix' | xargs -P4 -- sed -f script.sed -i
```

I will also add this script to `maintainers/scripts`.
2020-10-02 09:01:35 -07:00
Frederik Rietdijk 28053ee2e4 python: bumps: 0.7.14 -> 0.7.16 2020-08-04 21:54:41 +02:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
R. RyanTM 28774cc835 python27Packages.bumps: 0.7.13 -> 0.7.14 2020-01-22 13:42:25 -08:00
Frederik Rietdijk f831efd715 python: bumps: 0.7.12 -> 0.7.13 2019-10-18 09:53:56 +02:00
R. RyanTM 30bb550fc2 python37Packages.bumps: 0.7.11 -> 0.7.12
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-bumps/versions
2019-09-28 02:42:56 -07:00
Frederik Rietdijk 1c28b76887 python: bumps: 0.7.10 -> 0.7.11 2018-10-13 09:50:15 +02:00
Frederik Rietdijk 4e8b0caaf9 python: bumps: 0.7.8 -> 0.7.10 2018-07-22 16:52:36 +02:00
Frederik Rietdijk 4d10db93d9 python: bumps: 0.7.6 -> 0.7.8 2018-06-02 13:44:38 +02:00
Adam Washington 392def733b
Remove lint from Sasview package 2018-03-22 17:44:27 +00:00
Adam Washington 242e37800b
pythonPackage.bumps: init at 0.7.6
This package is required by SasView, which will be added in a later commit.
2018-03-09 11:57:28 +00:00