diff --git a/pkgs/development/python-modules/yaswfp/default.nix b/pkgs/development/python-modules/yaswfp/default.nix new file mode 100644 index 000000000000..267052f5c17d --- /dev/null +++ b/pkgs/development/python-modules/yaswfp/default.nix @@ -0,0 +1,30 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, pytestCheckHook +}: + +buildPythonPackage rec { + pname = "yaswfp"; + version = "unstable-20210331"; + + src = fetchFromGitHub { + owner = "facundobatista"; + repo = pname; + rev = "2a2cc6ca4c0b4d52bd2e658fb5f80fdc0db4924c"; + sha256 = "1dxdz89hlycy1rnn269fwl1f0qxgxqarkc0ivs2m77f8xba2qgj9"; + }; + + checkInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ "yaswfp" ]; + + meta = with lib; { + description = "Python SWF Parser"; + homepage = "https://github.com/facundobatista/yaswfp"; + license = with licenses; [ gpl3Only ]; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 5e925957e572..49836da2be91 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -9002,6 +9002,8 @@ in { yarl = callPackage ../development/python-modules/yarl { }; + yaswfp = callPackage ../development/python-modules/yaswfp { }; + yattag = callPackage ../development/python-modules/yattag { }; ydiff = callPackage ../development/python-modules/ydiff { };