Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 poetry-core, 6}: 7 8buildPythonPackage rec { 9 pname = "dahlia"; 10 version = "3.0.0"; 11 pyproject = true; 12 13 src = fetchFromGitHub { 14 owner = "dahlia-lib"; 15 repo = "dahlia"; 16 rev = "refs/tags/${version}"; 17 hash = "sha256-t8m/7TSzVvETvn3Jar29jCh55Ti+B0NA8Az/8GHwQAg="; 18 }; 19 20 build-system = [ poetry-core ]; 21 pythonImportsCheck = [ "dahlia" ]; 22 23 meta = { 24 changelog = "https://github.com/dahlia-lib/dahlia/blob/${src.rev}/CHANGELOG.md"; 25 description = "Simple text formatting package, inspired by the game Minecraft"; 26 license = lib.licenses.mit; 27 homepage = "https://github.com/dahlia-lib/dahlia"; 28 maintainers = with lib.maintainers; [ sigmanificient ]; 29 mainProgram = "dahlia"; 30 }; 31}