maturin: don't overuse with lib

https://github.com/NixOS/nixpkgs/issues/208242
This commit is contained in:
seth 2024-06-11 20:11:41 -04:00
parent 4cb00793c7
commit 10516a7c63
No known key found for this signature in database
GPG Key ID: D31BD0D494BBEE86
2 changed files with 6 additions and 6 deletions

View File

@ -31,9 +31,8 @@ rustPlatform.buildRustPackage rec {
passthru.tests.pyo3 = callPackage ./pyo3-test { };
meta = with lib; {
meta = {
description = "Build and publish Rust crates Python packages";
mainProgram = "maturin";
longDescription = ''
Build and publish Rust crates with PyO3, rust-cpython, and
cffi bindings as well as Rust binaries as Python packages.
@ -44,10 +43,11 @@ rustPlatform.buildRustPackage rec {
'';
homepage = "https://github.com/PyO3/maturin";
changelog = "https://github.com/PyO3/maturin/blob/v${version}/Changelog.md";
license = with licenses; [
license = with lib.licenses; [
asl20 # or
mit
];
maintainers = with maintainers; [ getchoo ];
maintainers = with lib.maintainers; [ getchoo ];
mainProgram = "maturin";
};
}

View File

@ -40,10 +40,10 @@ python.pkgs.buildPythonPackage rec {
pythonImportsCheck = [ "word_count" ];
meta = with lib; {
meta = {
description = "PyO3 word count example";
homepage = "https://github.com/PyO3/pyo3";
license = licenses.asl20;
license = lib.licenses.asl20;
maintainers = [ ];
};
}