2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, setuptools_scm, pytest }:
|
2019-07-21 10:24:00 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "setuptools-scm-git-archive";
|
|
|
|
version = "1.1";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit version;
|
|
|
|
pname = "setuptools_scm_git_archive";
|
|
|
|
sha256 = "6026f61089b73fa1b5ee737e95314f41cb512609b393530385ed281d0b46c062";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ setuptools_scm ];
|
|
|
|
|
|
|
|
checkInputs = [ pytest ];
|
|
|
|
|
2020-12-23 19:54:09 +00:00
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "setuptools_scm_git_archive" ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-07-21 10:24:00 +01:00
|
|
|
description = "setuptools_scm plugin for git archives";
|
|
|
|
homepage = "https://github.com/Changaco/setuptools_scm_git_archive";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.marsam ];
|
|
|
|
};
|
|
|
|
}
|