Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 38 lines 846 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pythonOlder, 6 setuptools, 7}: 8 9buildPythonPackage rec { 10 pname = "pysyncobj"; 11 version = "0.3.13"; 12 pyproject = true; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchFromGitHub { 17 owner = "bakwc"; 18 repo = "PySyncObj"; 19 rev = "refs/tags/v${version}"; 20 hash = "sha256-ZWzvvv13g/iypm+MIl5q0Y8ekqzZEY5upSTPk3MFTPI="; 21 }; 22 23 build-system = [ setuptools ]; 24 25 # Tests require network features 26 doCheck = false; 27 28 pythonImportsCheck = [ "pysyncobj" ]; 29 30 meta = with lib; { 31 description = "Python library for replicating your class"; 32 homepage = "https://github.com/bakwc/PySyncObj"; 33 changelog = "https://github.com/bakwc/PySyncObj/releases/tag/v${version}"; 34 license = licenses.mit; 35 maintainers = with maintainers; [ fab ]; 36 mainProgram = "syncobj_admin"; 37 }; 38}