Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / fleep / default.nix
blobf41cb0109402989bb99fbb05fbfb07807153bb6a
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , python
5 }:
7 buildPythonPackage rec {
8   pname = "fleep";
9   version = "1.0.1";
10   format = "setuptools";
12   # Pypi version does not have tests
13   src = fetchFromGitHub {
14     owner = "floyernick";
15     repo = "fleep-py";
16     rev = "994bc2c274482d80ab13d89d8f7343eb316d3e44";
17     hash = "sha256-TaU7njx98nxkhZawGMFqWj4g+yCtIX9aPWQHoamzfMY=";
18   };
20   patches = [
21     ./0001-Fixing-paths-on-tests.patch
22   ];
24   checkPhase = ''
25     ${python.interpreter} tests/maintest.py
26     ${python.interpreter} tests/speedtest.py
27   '';
29   pythonImportsCheck = [ "fleep" ];
31   meta = with lib; {
32     description = "File format determination library";
33     homepage = "https://github.com/floyernick/fleep-py";
34     license = licenses.mit;
35     maintainers = with maintainers; [ wolfangaukang ];
36   };