2020-11-03 02:18:15 +00:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2020-11-06 00:33:48 +00:00
|
|
|
, isPy27
|
2020-11-03 02:18:15 +00:00
|
|
|
, semantic-version
|
|
|
|
, setuptools
|
|
|
|
, setuptools_scm
|
|
|
|
, toml
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "setuptools-rust";
|
2020-11-06 00:33:48 +00:00
|
|
|
version = "0.11.4";
|
|
|
|
|
|
|
|
disabled = isPy27;
|
2020-11-03 02:18:15 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-06 00:33:48 +00:00
|
|
|
sha256 = "9714fcb94c78e6ab1864ddac7750049e105fd4f7c52103aecf40d408e94a722f";
|
2020-11-03 02:18:15 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ setuptools_scm ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ semantic-version setuptools toml ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Setuptools plugin for Rust support";
|
|
|
|
homepage = "https://github.com/PyO3/setuptools-rust";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ danieldk ];
|
|
|
|
};
|
|
|
|
}
|