Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 34 lines 651 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pythonOlder 5, pytest 6}: 7 8buildPythonPackage rec { 9 pname = "fsspec"; 10 version = "0.6.2"; 11 disabled = pythonOlder "3.5"; 12 13 src = fetchFromGitHub { 14 owner = "intake"; 15 repo = "filesystem_spec"; 16 rev = version; 17 sha256 = "1y3d6xw14rcldz9779ir6mjaff4rk82ch6ahn4y9mya0qglpc31i"; 18 }; 19 20 checkInputs = [ 21 pytest 22 ]; 23 24 checkPhase = '' 25 pytest 26 ''; 27 28 meta = with lib; { 29 description = "A specification that python filesystems should adhere to"; 30 homepage = https://github.com/intake/filesystem_spec; 31 license = licenses.bsd3; 32 maintainers = [ maintainers.costrouc ]; 33 }; 34}