1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, pytestCheckHook
5}:
6
7buildPythonPackage rec {
8 pname = "yaswfp";
9 version = "unstable-20210331";
10
11 src = fetchFromGitHub {
12 owner = "facundobatista";
13 repo = pname;
14 rev = "2a2cc6ca4c0b4d52bd2e658fb5f80fdc0db4924c";
15 sha256 = "1dxdz89hlycy1rnn269fwl1f0qxgxqarkc0ivs2m77f8xba2qgj9";
16 };
17
18 checkInputs = [
19 pytestCheckHook
20 ];
21
22 pythonImportsCheck = [ "yaswfp" ];
23
24 meta = with lib; {
25 description = "Python SWF Parser";
26 homepage = "https://github.com/facundobatista/yaswfp";
27 license = with licenses; [ gpl3Only ];
28 maintainers = with maintainers; [ fab ];
29 };
30}