Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at domenkozar-patch-1 26 lines 671 B view raw
1{ lib, buildPythonPackage, fetchFromGitLab, isPy3k, pytest, baseline }: 2 3buildPythonPackage rec { 4 pname = "plum-py"; 5 version = "0.8.5"; 6 disabled = !isPy3k; 7 8 src = fetchFromGitLab { 9 owner = "dangass"; 10 repo = "plum"; 11 rev = version; 12 sha256 = "sha256-jCZUNT1HpSr0khHsjnxEzN2LCzcDV6W27PjVkwFJHUg="; 13 }; 14 15 pythonImportsCheck = [ "plum" ]; 16 17 checkInputs = [ pytest baseline ]; 18 checkPhase = "pytest tests"; 19 20 meta = with lib; { 21 description = "Classes and utilities for packing/unpacking bytes"; 22 homepage = "https://plum-py.readthedocs.io/en/latest/index.html"; 23 license = licenses.mit; 24 maintainers = with maintainers; [ dnr ]; 25 }; 26}