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