package.nix (818B)
1 { 2 lib, 3 python3Packages, 4 fetchFromGitHub, 5 }: 6 7 python3Packages.buildPythonPackage (finalAttrs: { 8 pname = "pycouchdb"; 9 version = "1.17.1"; 10 pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "histrio"; 14 repo = "py-couchdb"; 15 tag = "v${finalAttrs.version}"; 16 hash = "sha256-KaY/ZotUYpaU5eWe2HC44bC1thnZ3V9AjvzQ+XMxBug="; 17 }; 18 19 build-system = with python3Packages; [ hatchling ]; 20 21 pythonRelaxDeps = true; 22 23 dependencies = with python3Packages; [ 24 requests 25 chardet 26 ]; 27 28 doCheck = false; 29 30 nativeCheckInputs = with python3Packages; [ 31 pytestCheckHook 32 responses 33 ]; 34 35 meta = { 36 description = "Modern pure python CouchDB Client"; 37 homepage = "https://github.com/histrio/py-couchdb"; 38 license = lib.licenses.bsd3; 39 maintainers = [ lib.maintainers.sikmir ]; 40 }; 41 })
