pythonPackages.setuptools-rust: cleanup, add pythonImportsCheck
This commit is contained in:
parent
7f9c3b8001
commit
81331f20a5
@ -4,14 +4,13 @@
|
|||||||
, isPy27
|
, isPy27
|
||||||
, semantic-version
|
, semantic-version
|
||||||
, setuptools
|
, setuptools
|
||||||
, setuptools_scm
|
, setuptools-scm
|
||||||
, toml
|
, toml
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "setuptools-rust";
|
pname = "setuptools-rust";
|
||||||
version = "0.11.6";
|
version = "0.11.6";
|
||||||
|
|
||||||
disabled = isPy27;
|
disabled = isPy27;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
@ -19,10 +18,14 @@ buildPythonPackage rec {
|
|||||||
sha256 = "a5b5954909cbc5d66b914ee6763f81fa2610916041c7266105a469f504a7c4ca";
|
sha256 = "a5b5954909cbc5d66b914ee6763f81fa2610916041c7266105a469f504a7c4ca";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ setuptools_scm ];
|
nativeBuildInputs = [ setuptools-scm ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ semantic-version setuptools toml ];
|
propagatedBuildInputs = [ semantic-version setuptools toml ];
|
||||||
|
|
||||||
|
# no tests
|
||||||
|
doCheck = false;
|
||||||
|
pythonImportsCheck = [ "setuptools_rust" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Setuptools plugin for Rust support";
|
description = "Setuptools plugin for Rust support";
|
||||||
homepage = "https://github.com/PyO3/setuptools-rust";
|
homepage = "https://github.com/PyO3/setuptools-rust";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user