python3.pkgs.commoncode: init at 21.1.21

This commit is contained in:
Cole Helbling 2021-04-19 20:30:17 -07:00
parent 1afb06b2da
commit 68f660dc19
No known key found for this signature in database
GPG key ID: B37E0F2371016A4C
2 changed files with 57 additions and 0 deletions

View file

@ -0,0 +1,55 @@
{ lib
, fetchPypi
, buildPythonPackage
, setuptools-scm
, click
, requests
, attrs
, intbitset
, saneyaml
, text-unidecode
, beautifulsoup4
, pytestCheckHook
, pytest-xdist
}:
buildPythonPackage rec {
pname = "commoncode";
version = "21.1.21";
src = fetchPypi {
inherit pname version;
sha256 = "6e2daa34fac2d91307b23d9df5f01a6168fdffb12bf5d161bd6776bade29b479";
};
dontConfigure = true;
nativeBuildInputs = [
setuptools-scm
];
propagatedBuildInputs = [
click
requests
attrs
intbitset
saneyaml
text-unidecode
beautifulsoup4
];
checkInputs = [
pytestCheckHook
pytest-xdist
];
pythonImportsCheck = [
"commoncode"
];
meta = with lib; {
description = "A set of common utilities, originally split from ScanCode";
homepage = "https://github.com/nexB/commoncode";
license = licenses.asl20;
maintainers = teams.determinatesystems.members;
};
}

View file

@ -1513,6 +1513,8 @@ in {
commandparse = callPackage ../development/python-modules/commandparse { };
commoncode = callPackage ../development/python-modules/commoncode { };
CommonMark = callPackage ../development/python-modules/commonmark { };
compiledb = callPackage ../development/python-modules/compiledb { };