16 self = buildPythonPackage rec {
21 disabled = pythonOlder "3.8";
23 src = fetchFromGitHub {
26 rev = "refs/tags/${version}";
27 hash = "sha256-yXPHQP4B83PuRNvDBnRTx/MaPaQxCl1g5Xrle+N/d7I=";
33 ] ++ versioneer.optional-dependencies.toml;
35 # would create dependency loop with twisted
38 nativeCheckInputs = [ twisted ];
46 pythonImportsCheck = [ "constantly" ];
48 passthru.tests.constantly = self.overridePythonAttrs { doCheck = true; };
51 description = "Module for symbolic constant support";
52 homepage = "https://github.com/twisted/constantly";
53 license = licenses.mit;