python310Packages.debian-inspector: pretend version

This commit is contained in:
Fabian Affolter 2022-05-12 15:13:13 +02:00
parent f04ff41118
commit 1c7c689c0f

View File

@ -6,24 +6,30 @@
, commoncode
, pytestCheckHook
, setuptools-scm
, pythonOlder
}:
buildPythonPackage rec {
pname = "debian-inspector";
version = "30.0.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
pname = "debian_inspector";
inherit version;
sha256 = "sha256-0PT5sT6adaqgYQtWjks12ys0z1C3n116aeJaEKR/Wxg=";
hash = "sha256-0PT5sT6adaqgYQtWjks12ys0z1C3n116aeJaEKR/Wxg=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
dontConfigure = true;
nativeBuildInputs = [
setuptools-scm
];
dontConfigure = true;
propagatedBuildInputs = [
chardet
attrs