2021-04-05 15:23:46 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, toml }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "setuptools_scm";
|
2021-04-26 19:14:03 +00:00
|
|
|
version = "6.0.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-04-26 19:14:03 +00:00
|
|
|
sha256 = "d1925a69cb07e9b29416a275b9fadb009a23c148ace905b2fb220649a6c18e92";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-04-05 15:23:46 +00:00
|
|
|
propagatedBuildInputs = [ toml ];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
# Requires pytest, circular dependency
|
|
|
|
doCheck = false;
|
2021-04-05 15:23:46 +00:00
|
|
|
pythonImportsCheck = [ "setuptools_scm" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2021-04-05 15:23:46 +00:00
|
|
|
homepage = "https://github.com/pypa/setuptools_scm/";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Handles managing your python package versions in scm metadata";
|
|
|
|
license = licenses.mit;
|
2021-04-05 15:23:46 +00:00
|
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|