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
Frederik Rietdijk
d2f8d646fc python: django-guardian: 2.2.0 -> 2.3.0 2020-08-16 19:30:58 +02:00
Frederik Rietdijk
177e98ba33 python: django-guardian: 2.1.0 -> 2.2.0 2020-06-11 09:59:57 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Frederik Rietdijk
2a25777621 python: django-guardian: 1.5.1 -> 2.1.0 2019-10-27 16:26:40 +01:00
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
R. RyanTM
7c9de797bc python37Packages.django_guardian: 1.5.0 -> 1.5.1 (#61364)
* python37Packages.django_guardian: 1.5.0 -> 1.5.1

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-django-guardian/versions

* pythonPackages.django-guardian: reenable on Py27
2019-05-12 19:38:04 +02:00
Robert Schütz
9905de73a4 python.pkgs.django_guardian: broken on Python 2.7
See https://github.com/django-guardian/django-guardian/pull/605.
2019-03-15 17:50:39 +01:00
Robert Schütz
6e49276182 python.pkgs.django_guardian: simplify expression 2019-03-15 17:50:39 +01:00
Frederik Rietdijk
6d00cda77c python: django-guardian: 1.4.9 -> 1.5.0 2019-02-17 14:40:19 +01:00
Frederik Rietdijk
ced21f5e1a pythonPackages: remove name attribute`
The `buildPython*` function computes name from `pname` and `version`.
This change removes `name` attribute from all expressions in
`pkgs/development/python-modules`.

While at it, some other minor changes were made as well, such as
replacing `fetchurl` calls with `fetchPypi`.
2018-06-23 18:14:26 +02:00
Frederik Rietdijk
1623c8371c buildPythonPackage: rename nix_run_setup.py to nix_run_setup
If the extension is .py it tends to be picked up by tools, breaking for
example tests.
2018-01-20 13:31:14 +01:00
Vladimír Čunát
6f5d989478
treewide: checkMeta fixes for x86_64-linux 2017-12-07 07:50:47 -05:00
Frederik Rietdijk
07eeeb3600 Python: move expressions in python-modules to their own folders 2017-11-05 10:45:54 +01:00