Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 36 lines 714 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 pytestCheckHook, 7 wrapt, 8}: 9 10buildPythonPackage rec { 11 pname = "aiounittest"; 12 version = "1.4.2"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "kwarunek"; 17 repo = pname; 18 rev = "refs/tags/${version}"; 19 hash = "sha256-7lDOI1SHPpRZLTHRTmfbKlZH18T73poJdFyVmb+HKms="; 20 }; 21 22 nativeBuildInputs = [ setuptools ]; 23 24 propagatedBuildInputs = [ wrapt ]; 25 26 nativeCheckInputs = [ pytestCheckHook ]; 27 28 pythonImportsCheck = [ "aiounittest" ]; 29 30 meta = with lib; { 31 description = "Test asyncio code more easily"; 32 homepage = "https://github.com/kwarunek/aiounittest"; 33 license = licenses.mit; 34 maintainers = [ ]; 35 }; 36}