Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 pytestCheckHook, 7}: 8 9buildPythonPackage { 10 pname = "yapsy"; 11 version = "1.12.2-unstable-2023-03-29"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "tibonihoo"; 16 repo = "yapsy"; 17 rev = "6b487b04affb19ab40adbbc87827668bea0abcee"; 18 hash = "sha256-QKZlUAhYMCCsT/jbEHb39ESZ2+2FZYnhJnc1PgsozBA="; 19 }; 20 21 sourceRoot = "source/package"; 22 23 build-system = [ setuptools ]; 24 25 nativeCheckInputs = [ pytestCheckHook ]; 26 27 pythonImportsCheck = [ "yapsy" ]; 28 29 meta = with lib; { 30 homepage = "https://yapsy.sourceforge.net/"; 31 description = "Yet another plugin system"; 32 license = licenses.bsd2; 33 }; 34}