poetry2nix/tests/default.nix
adisbladis bf48f272c1
Add CLI to supplement git hashes
This is not required for private repos where builtins.fetchGit would
suffice but _is_ required for Hydra (nixpkgs) where builtins.fetchGit is not allowed.
2019-12-28 21:45:51 +00:00

26 lines
1.2 KiB
Nix

{ pkgs ? import <nixpkgs> {} }:
let
poetry = pkgs.callPackage ../pkgs/poetry { python = pkgs.python3; inherit poetry2nix; };
poetry2nix = import ./.. { inherit pkgs; inherit poetry; };
pep425 = pkgs.callPackage ../pep425.nix {};
pep425Python37 = pkgs.callPackage ../pep425.nix { python = pkgs.python37; };
pep425OSX = pkgs.callPackage ../pep425.nix { isLinux = false; };
in
{
trivial = pkgs.callPackage ./trivial { 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; };
pep425 = pkgs.callPackage ./pep425 { inherit pep425; inherit pep425OSX; inherit pep425Python37; };
env = pkgs.callPackage ./env { inherit poetry2nix; };
git-deps = pkgs.callPackage ./git-deps { inherit poetry2nix; };
git-deps-pinned = pkgs.callPackage ./git-deps-pinned { inherit poetry2nix; };
cli = poetry2nix;
# manylinux requires nixpkgs with https://github.com/NixOS/nixpkgs/pull/75763
# Once this is available in 19.09 and unstable we can re-enable the manylinux test
#manylinux = pkgs.callPackage ./manylinux { inherit poetry2nix; };
}