Something went wrong. Try again.
lol
Something went wrong. Try again.
1.3 kB · 63 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364{ lib, buildPythonPackage, colcon, cargo, fetchFromGitHub, scspell, setuptools, pytestCheckHook, rustfmt, toml, writableTmpDirAsHomeHook,}:buildPythonPackage (finalAttrs: { pname = "colcon-cargo"; version = "0.2.0"; pyproject = true;
src = fetchFromGitHub { owner = "colcon"; repo = "colcon-cargo"; tag = finalAttrs.version; hash = "sha256-jhc5mN4jnLk2zLj01sBm63acrku/FIexnIWCQ6GKDKA="; };
build-system = [ setuptools ];
dependencies = [ colcon toml ];
nativeCheckInputs = [ cargo pytestCheckHook scspell rustfmt writableTmpDirAsHomeHook ];
disabledTests = [ # Attempts to download https://index.crates.io/config.json at test time "test_build_and_test_package" "test_skip_pure_library_package" ];
disabledTestPaths = [ # Skip the linter tests "test/test_flake8.py" ];
pythonImportsCheck = [ "colcon_cargo" ];
meta = { description = "Extension for colcon-core to support Rust packages built with Cargo"; homepage = "https://github.com/colcon/colcon-cargo"; changelog = "https://github.com/colcon/colcon-cargo/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ guelakais ]; };})