1{ lib 2, buildPythonPackage 3, fetchPypi 4}: 5 6buildPythonPackage rec { 7 pname = "puremagic"; 8 version = "1.11"; 9 10 src = fetchPypi { 11 inherit pname version; 12 sha256 = "09d762b9d83c65a83617ee57a3532eb10663f394c1caf81390516c5b1cc0fc6b"; 13 }; 14 15 # test data not included on pypi 16 doCheck = false; 17 18 pythonImportsCheck = [ "puremagic" ]; 19 20 meta = with lib; { 21 description = "Pure python implementation of magic file detection"; 22 license = licenses.mit; 23 homepage = "https://github.com/cdgriffith/puremagic"; 24 maintainers = with maintainers; [ globin ]; 25 }; 26}