2023-06-19 14:42:24 +00:00
|
|
|
{ callPackage, maturin, writers, python3Packages }:
|
2021-05-08 09:33:29 +00:00
|
|
|
|
2021-09-11 09:14:58 +00:00
|
|
|
# Build like this from nixpkgs root:
|
|
|
|
# $ nix-build -A tests.importCargoLock
|
2021-05-08 09:33:29 +00:00
|
|
|
{
|
|
|
|
basic = callPackage ./basic { };
|
2021-09-10 17:09:29 +00:00
|
|
|
basicDynamic = callPackage ./basic-dynamic { };
|
2021-05-08 09:33:29 +00:00
|
|
|
gitDependency = callPackage ./git-dependency { };
|
2021-09-11 07:10:54 +00:00
|
|
|
gitDependencyRev = callPackage ./git-dependency-rev { };
|
2021-10-24 14:43:50 +00:00
|
|
|
gitDependencyRevNonWorkspaceNestedCrate = callPackage ./git-dependency-rev-non-workspace-nested-crate { };
|
2021-09-11 07:10:54 +00:00
|
|
|
gitDependencyTag = callPackage ./git-dependency-tag { };
|
|
|
|
gitDependencyBranch = callPackage ./git-dependency-branch { };
|
2023-06-19 14:42:24 +00:00
|
|
|
maturin = maturin.tests.pyo3;
|
2023-02-10 03:12:57 +00:00
|
|
|
v1 = callPackage ./v1 { };
|
2023-02-19 18:01:18 +00:00
|
|
|
gitDependencyWorkspaceInheritance = callPackage ./git-dependency-workspace-inheritance {
|
|
|
|
replaceWorkspaceValues = writers.writePython3 "replace-workspace-values"
|
2023-04-29 13:48:10 +00:00
|
|
|
{ libraries = with python3Packages; [ tomli tomli-w ]; flakeIgnore = [ "E501" "W503" ]; }
|
2023-02-19 18:01:18 +00:00
|
|
|
(builtins.readFile ../../replace-workspace-values.py);
|
|
|
|
};
|
2021-05-08 09:33:29 +00:00
|
|
|
}
|