Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 flit-core, 6 pythonOlder, 7}: 8 9buildPythonPackage rec { 10 pname = "aocd-example-parser"; 11 version = "unstable-2023-12-17"; 12 pyproject = true; 13 14 disabled = pythonOlder "3.9"; 15 16 src = fetchFromGitHub { 17 owner = "wimglenn"; 18 repo = "aocd-example-parser"; 19 rev = "07330183f3e43401444fe17b08d72eb6168504e1"; 20 hash = "sha256-iOxqzZj29aY/xyigir1KOU6GcBBvnlxEOBLHChEQjf4="; 21 }; 22 23 nativeBuildInputs = [ flit-core ]; 24 25 # Circular dependency with aocd 26 # pythonImportsCheck = [ 27 # "aocd_example_parser" 28 # ]; 29 30 meta = with lib; { 31 description = "Default implementation of an example parser plugin for advent-of-code-data"; 32 homepage = "https://github.com/wimglenn/aocd-example-parser"; 33 license = licenses.mit; 34 maintainers = with maintainers; [ fab ]; 35 }; 36}