Commit graph

16 commits

Author SHA1 Message Date
Florian Finkernagel
c890a227b3 fix requirements extraction for nixos 22.05
There were two sources of breakage,
a setuptools change that requires us to pass in
an enviromental variable to get the old behaviour,
and a change of the nixpkgs-python-wrappers from shell
scripts to binary wrappers, which makes another wrapper necessary.
2022-07-04 10:30:45 +02:00
Bjørn Forsman
de2b19d61f Remove pipenv from dependency extractor derivation
This fixes automatic dependency extraction from packages when the user
asks for a python version that differs too much from the default python
in nixpkgs (which pipenv was built with).

Fixes https://github.com/DavHau/mach-nix/issues/426.
2022-04-08 17:40:59 +02:00
Tom Prince
7e2dddd8e7 Remove the dependency on python pkgconfig package in the dependency extractor.
This causes dependency extraction to fail on python2, with nixos-21.11.
2021-12-02 12:53:56 -07:00
DavHau
4433f74a97 expose mkPy of lib/extractor/default.nix 2021-10-20 13:24:05 +07:00
DavHau
dad9f701bf add: flake app 'extract-reqs' 2021-05-14 17:04:54 +07:00
DavHau
9543999c8a extractor: sanitize derivation names 2021-04-21 12:25:03 +07:00
DavHau
80a2ffb9b1 fix illegal store path 2021-04-21 11:44:42 +07:00
DavHau
f0b942c536 fix illegal store path 2021-04-21 11:26:29 +07:00
DavHau
67238320a7 add drv generator to extractor 2021-04-21 00:51:11 +07:00
DavHau
8652cf9da3 only extract for specific python versions 2021-04-20 21:07:04 +07:00
DavHau
162ffe0b47 update extractor: allow passing python versions 2021-04-18 15:10:26 +07:00
DavHau
0a9df7eaa1 update crawler 2021-04-17 19:55:44 +07:00
Nathan Joss (nat543207)
a319310f42 Pass pkgs to extractor instead of referencing <nixpkgs> 2020-10-28 17:18:16 -07:00
DavHau
639879cfb7 update dependency extractor to use "LANG=C.utf8" 2020-10-03 21:53:40 +07:00
DavHau
76238f2825 automatically detect name and version from source 2020-08-25 10:11:08 +07:00
DavHau
b230865660 automatically extract requirements in buildPythonPackage 2020-08-24 18:20:29 +07:00