depot/third_party/nixpkgs/pkgs/development/python-modules/setuptools-rust/default.nix
Default email eefb417d14 Project import generated by Copybara.
GitOrigin-RevId: a52e974cff8fb80c427e0d55c01b3b8c770ccec4
2020-11-06 01:33:48 +01:00

32 lines
679 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, isPy27
, semantic-version
, setuptools
, setuptools_scm
, toml
}:
buildPythonPackage rec {
pname = "setuptools-rust";
version = "0.11.4";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "9714fcb94c78e6ab1864ddac7750049e105fd4f7c52103aecf40d408e94a722f";
};
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 ];
};
}