summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/yaswfp/default.nix
blob: 57c24a34eddd7b4ec122d99d8321c0ad98bf7418 (plain)
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
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pytestCheckHook,
}:

buildPythonPackage {
  pname = "yaswfp";
  version = "unstable-20210331";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "facundobatista";
    repo = "yaswfp";
    rev = "2a2cc6ca4c0b4d52bd2e658fb5f80fdc0db4924c";
    sha256 = "1dxdz89hlycy1rnn269fwl1f0qxgxqarkc0ivs2m77f8xba2qgj9";
  };

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "yaswfp" ];

  meta = {
    description = "Python SWF Parser";
    mainProgram = "swfparser";
    homepage = "https://github.com/facundobatista/yaswfp";
    license = with lib.licenses; [ gpl3Only ];
    maintainers = with lib.maintainers; [ fab ];
  };
}