02cf88bb76
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
29 lines
743 B
Nix
29 lines
743 B
Nix
{ lib, buildPythonPackage, fetchPypi, setuptools-scm, pytestCheckHook }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "setuptools-scm-git-archive";
|
|
version = "1.4";
|
|
|
|
src = fetchPypi {
|
|
inherit version;
|
|
pname = "setuptools_scm_git_archive";
|
|
sha256 = "b048b27b32e1e76ec865b0caa4bb85df6ddbf4697d6909f567ac36709f6ef2f0";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools-scm ];
|
|
|
|
checkInputs = [ pytestCheckHook ];
|
|
|
|
pytestFlagsArray = [
|
|
"tests.py"
|
|
];
|
|
|
|
pythonImportsCheck = [ "setuptools_scm_git_archive" ];
|
|
|
|
meta = with lib; {
|
|
description = "setuptools_scm plugin for git archives";
|
|
homepage = "https://github.com/Changaco/setuptools_scm_git_archive";
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.marsam ];
|
|
};
|
|
}
|