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