2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
pytestCheckHook,
|
2021-04-05 15:23:46 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "yaswfp";
|
|
|
|
version = "unstable-20210331";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2021-04-05 15:23:46 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "facundobatista";
|
|
|
|
repo = pname;
|
|
|
|
rev = "2a2cc6ca4c0b4d52bd2e658fb5f80fdc0db4924c";
|
|
|
|
sha256 = "1dxdz89hlycy1rnn269fwl1f0qxgxqarkc0ivs2m77f8xba2qgj9";
|
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
2021-04-05 15:23:46 +00:00
|
|
|
|
|
|
|
pythonImportsCheck = [ "yaswfp" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python SWF Parser";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "swfparser";
|
2021-04-05 15:23:46 +00:00
|
|
|
homepage = "https://github.com/facundobatista/yaswfp";
|
|
|
|
license = with licenses; [ gpl3Only ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|