6 python3.pkgs.buildPythonApplication rec {
8 version = "unstable-2021-07-02";
10 disabled = python3.pythonOlder "3.6";
12 src = fetchFromGitHub {
15 rev = "0f3701607ba13212ebefb4bbd9e68ec0e22d76ac";
16 sha256 = "1vws8ybhv7szpqvlbmv0hrkys2fhhaa5bj9dywv3q2y1xmljl0py";
19 propagatedBuildInputs = with python3.pkgs; [
26 # Remove install helpers which we don't need
27 substituteInPlace setup.py \
28 --replace "parse_requirements('requirements.txt')," "[]," \
29 --replace "resolve('wheel')" "" \
30 --replace "'install': LocalInstallCommand," ""
33 # Project has no tests
36 pythonImportsCheck = [ "usbrip" ];
39 description = "Tool to track the history of USB events";
40 mainProgram = "usbrip";
41 homepage = "https://github.com/snovvcrash/usbrip";
42 license = with licenses; [ gpl3Plus ];
43 maintainers = with maintainers; [ fab ];
44 platforms = platforms.linux;