Commit Graph

11 Commits

Author SHA1 Message Date
Pavol Rusnak
a6ce00c50c
treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
Pavol Rusnak
a4bbfba80d
pkgs/development/python-modules: stdenv.lib -> lib 2021-01-24 01:29:22 +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
2bc8db85e1 python3Packages.plyvel: 1.2.0 -> 1.3.0 2020-12-01 14:44:16 +01:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
R. RyanTM
f49fa93166 python27Packages.plyvel: 1.1.0 -> 1.2.0 2020-01-28 06:46:37 +00:00
R. RyanTM
10832b0c4d python37Packages.plyvel: 1.0.5 -> 1.1.0
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-plyvel/versions
2019-05-18 08:28:00 +02:00
Freezeboy
8f87a61de2 Replace platforms.linux with platforms.darwin for expressions that compile on darwin too (too restrictive platforms) 2019-02-18 10:56:58 +01:00
Jörg Thalheim
634db3c436
plyvel: restrict to linux
on macOS we see the following error:

ImportError: Failed to import test module: test.test_plyvel
Traceback (most recent call last):
  File "/nix/store/0mha803yql9q7b6h93m8940z3sjbhiy8-python3-3.6.6/lib/python3.6/unittest/loader.py", line 428, in _find_test_path
    module = self._get_module_from_name(name)
  File "/nix/store/0mha803yql9q7b6h93m8940z3sjbhiy8-python3-3.6.6/lib/python3.6/unittest/loader.py", line 369, in _get_module_from_name
    __import__(name)
  File "/private/tmp/nix-build-python3.6-plyvel-1.0.5.drv-0/plyvel-1.0.5/test/test_plyvel.py", line 17, in <module>
    import plyvel
  File "/private/tmp/nix-build-python3.6-plyvel-1.0.5.drv-0/plyvel-1.0.5/plyvel/__init__.py", line 6, in <module>
    from ._plyvel import (  # noqa
ImportError: dlopen(/private/tmp/nix-build-python3.6-plyvel-1.0.5.drv-0/plyvel-1.0.5/plyvel/_plyvel.cpython-36m-darwin.so, 2): Library not loaded: /nix/store/rq39v3s1l6vc85wwmrxsmlpi4rnbjnx6-leveldb-1.20/lib/out-shared/libleveldb.dylib.1.20
  Referenced from: /private/tmp/nix-build-python3.6-plyvel-1.0.5.drv-0/plyvel-1.0.5/plyvel/_plyvel.cpython-36m-darwin.so
  Reason: image not found
2018-11-09 21:44:49 +00:00
R. RyanTM
a117531c9a python36Packages.plyvel: 0.9 -> 1.0.5
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.6-plyvel/versions
2018-11-08 21:54:19 -08:00
Chris Ostrouchov
30296bc49e pythonPackages.plyvel: refactor move to python-modules 2018-10-18 11:02:23 +02:00