at master 784 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 python, 6}: 7 8buildPythonPackage { 9 pname = "fleep"; 10 version = "1.0.1"; 11 format = "setuptools"; 12 13 # Pypi version does not have tests 14 src = fetchFromGitHub { 15 owner = "floyernick"; 16 repo = "fleep-py"; 17 rev = "994bc2c274482d80ab13d89d8f7343eb316d3e44"; 18 hash = "sha256-TaU7njx98nxkhZawGMFqWj4g+yCtIX9aPWQHoamzfMY="; 19 }; 20 21 patches = [ ./0001-Fixing-paths-on-tests.patch ]; 22 23 checkPhase = '' 24 ${python.interpreter} tests/maintest.py 25 ${python.interpreter} tests/speedtest.py 26 ''; 27 28 pythonImportsCheck = [ "fleep" ]; 29 30 meta = with lib; { 31 description = "File format determination library"; 32 homepage = "https://github.com/floyernick/fleep-py"; 33 license = licenses.mit; 34 maintainers = [ ]; 35 }; 36}