Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pythonOlder, 6 fusepy, 7 ratarmountcore, 8}: 9 10buildPythonPackage rec { 11 pname = "ratarmount"; 12 version = "0.15.1"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.6"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-hprXZGgE2fpg8Km3gWO60e7teUB4Age5skNPc4p+wIg="; 20 }; 21 22 propagatedBuildInputs = [ 23 ratarmountcore 24 fusepy 25 ]; 26 27 checkPhase = '' 28 runHook preCheck 29 30 python tests/tests.py 31 32 runHook postCheck 33 ''; 34 35 meta = with lib; { 36 description = "Mounts archives as read-only file systems by way of indexing"; 37 mainProgram = "ratarmount"; 38 homepage = "https://github.com/mxmlnkn/ratarmount"; 39 license = licenses.mit; 40 maintainers = with lib.maintainers; [ mxmlnkn ]; 41 platforms = platforms.all; 42 }; 43}