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