mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-05 17:21:39 -05:00

This adds the following new tests: - trivial: minimaltest case - override-support: verify overriding - common-pkgs-1/2: verify commonly downloaded pypi pkgs can be built Also adds some overrides as needed by some of the tested packages.
11 lines
575 B
Nix
11 lines
575 B
Nix
{ pkgs ? import (fetchTarball https://nixos.org/channels/nixpkgs-unstable/nixexprs.tar.xz) {} }:
|
|
let
|
|
poetry = pkgs.callPackage ../pkgs/poetry { python = pkgs.python3; inherit poetry2nix; };
|
|
poetry2nix = import ./.. { inherit pkgs; inherit poetry; };
|
|
in
|
|
{
|
|
trivial = pkgs.callPackage ./override-support { inherit poetry2nix; };
|
|
override = pkgs.callPackage ./override-support { inherit poetry2nix; };
|
|
top-packages-1 = pkgs.callPackage ./common-pkgs-1 { inherit poetry2nix; };
|
|
top-packages-2 = pkgs.callPackage ./common-pkgs-2 { inherit poetry2nix; };
|
|
}
|