07d6a74cbb
GitOrigin-RevId: f5e8bdd07d1afaabf6b37afc5497b1e498b8046f
21 lines
472 B
Nix
21 lines
472 B
Nix
{ callPackage
|
|
, rustPlatform
|
|
, setuptools-rust
|
|
}:
|
|
|
|
callPackage ../../../tools/rust/maturin/pyo3-test/generic.nix {
|
|
# Isolated builds break for this package, because PyO3 is not
|
|
# in the build root of the Python Package:
|
|
#
|
|
# https://github.com/pypa/pip/issues/6276
|
|
#
|
|
format = "setuptools";
|
|
|
|
nativeBuildInputs = [ setuptools-rust ] ++ (with rustPlatform; [
|
|
cargoSetupHook
|
|
rust.cargo
|
|
rust.rustc
|
|
]);
|
|
|
|
sourceRoot = "source/examples/word-count";
|
|
}
|