anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / fleep / default.nix
blob4f178a836c22f1c08cdd2c1cd48f5c064302abbb
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   python,
6 }:
8 buildPythonPackage rec {
9   pname = "fleep";
10   version = "1.0.1";
11   format = "setuptools";
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   };
21   patches = [ ./0001-Fixing-paths-on-tests.patch ];
23   checkPhase = ''
24     ${python.interpreter} tests/maintest.py
25     ${python.interpreter} tests/speedtest.py
26   '';
28   pythonImportsCheck = [ "fleep" ];
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   };