1 { lib, buildPythonPackage, fetchFromGitHub, twisted }:
4 self = buildPythonPackage rec {
8 src = fetchFromGitHub {
12 hash = "sha256-0RPK5Vy0b6V4ubvm+vfNOAua7Qpa6j+G+QNExFuHgUU=";
15 # would create dependency loop with twisted
18 nativeCheckInputs = [ twisted ];
24 pythonImportsCheck = [ "constantly" ];
26 passthru.tests.constantly = self.overridePythonAttrs { doCheck = true; };
29 homepage = "https://github.com/twisted/constantly";
30 description = "symbolic constant support";
31 license = licenses.mit;