Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 961 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, setuptools 5, nose 6, parts 7, pytestCheckHook 8, pythonOlder 9}: 10 11buildPythonPackage rec { 12 pname = "bitlist"; 13 version = "1.1.0"; 14 format = "pyproject"; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchPypi { 19 inherit pname version; 20 hash = "sha256-eViakuhgSe9E8ltxzeg8m6/ze7QQvoKBtYZoBZzHxlA="; 21 }; 22 23 nativeBuildInputs = [ 24 setuptools 25 ]; 26 27 propagatedBuildInputs = [ 28 parts 29 ]; 30 31 nativeCheckInputs = [ 32 pytestCheckHook 33 nose 34 ]; 35 36 pythonImportsCheck = [ 37 "bitlist" 38 ]; 39 40 postPatch = '' 41 substituteInPlace pyproject.toml \ 42 --replace "--doctest-modules --ignore=docs --cov=bitlist --cov-report term-missing" "" 43 ''; 44 45 meta = with lib; { 46 description = "Python library for working with little-endian list representation of bit strings"; 47 homepage = "https://github.com/lapets/bitlist"; 48 license = with licenses; [ mit ]; 49 maintainers = with maintainers; [ fab ]; 50 }; 51}