Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 59 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder,
# build-system setuptools, versioneer,
# tests twisted,}:
let self = buildPythonPackage rec { pname = "constantly"; version = "23.10.4"; pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub { owner = "twisted"; repo = "constantly"; tag = version; hash = "sha256-yXPHQP4B83PuRNvDBnRTx/MaPaQxCl1g5Xrle+N/d7I="; };
nativeBuildInputs = [ setuptools versioneer ] ++ versioneer.optional-dependencies.toml;
# would create dependency loop with twisted doCheck = false;
nativeCheckInputs = [ twisted ];
checkPhase = '' runHook preCheck trial constantly runHook postCheck '';
pythonImportsCheck = [ "constantly" ];
passthru.tests.constantly = self.overridePythonAttrs { doCheck = true; };
meta = with lib; { description = "Module for symbolic constant support"; homepage = "https://github.com/twisted/constantly"; license = licenses.mit; maintainers = [ ]; }; };inself