1{
2 lib,
3 python3,
4 fetchFromGitHub,
5}:
6
7python3.pkgs.buildPythonApplication rec {
8 pname = "fromager";
9 version = "0.47.0";
10 pyproject = true;
11
12 src = fetchFromGitHub {
13 owner = "python-wheel-build";
14 repo = "fromager";
15 tag = version;
16 hash = "sha256-Jw5fOhY4WOwYG5QPCcsT6+BicGtqz9UrHcpPsPQlOWc=";
17 };
18
19 build-system = with python3.pkgs; [
20 setuptools
21 setuptools-scm
22 ];
23
24 dependencies = with python3.pkgs; [
25 click
26 elfdeps
27 html5lib
28 packaging
29 pkginfo
30 psutil
31 pydantic
32 pyproject-hooks
33 pyyaml
34 requests
35 resolvelib
36 rich
37 setuptools
38 stevedore
39 tomlkit
40 tqdm
41 virtualenv
42 wheel
43 ];
44
45 nativeCheckInputs = with python3.pkgs; [
46 pytestCheckHook
47 requests-mock
48 twine
49 ];
50
51 pythonImportsCheck = [
52 "fromager"
53 ];
54
55 meta = {
56 description = "Wheel maker";
57 homepage = "https://pypi.org/project/fromager/";
58 license = lib.licenses.asl20;
59 maintainers = with lib.maintainers; [ booxter ];
60 mainProgram = "fromager";
61 };
62}