Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 1.1 kB view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, setuptools 5, sphinx 6, hypothesis 7, py 8, pytest-xdist 9, pytestCheckHook 10, pytest-benchmark 11, sortedcollections 12, sortedcontainers 13, pythonOlder 14}: 15 16buildPythonPackage rec { 17 pname = "bidict"; 18 version = "0.22.1"; 19 format = "pyproject"; 20 21 disabled = pythonOlder "3.7"; 22 23 src = fetchFromGitHub { 24 owner = "jab"; 25 repo = "bidict"; 26 rev = "refs/tags/v${version}"; 27 hash = "sha256-mPBruasjQwErl5M91OBf71hArztdRVONOCnqos180DY="; 28 }; 29 30 nativeBuildInputs = [ 31 setuptools 32 ]; 33 34 propagatedBuildInputs = [ 35 sphinx 36 ]; 37 38 nativeCheckInputs = [ 39 hypothesis 40 py 41 pytest-xdist 42 pytestCheckHook 43 pytest-benchmark 44 sortedcollections 45 sortedcontainers 46 ]; 47 48 pythonImportsCheck = [ "bidict" ]; 49 50 meta = with lib; { 51 homepage = "https://github.com/jab/bidict"; 52 changelog = "https://github.com/jab/bidict/blob/v${version}/CHANGELOG.rst"; 53 description = "Efficient, Pythonic bidirectional map data structures and related functionality"; 54 license = licenses.mpl20; 55 maintainers = with maintainers; [ jakewaksbaum ]; 56 }; 57}