33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
30 lines
651 B
Nix
30 lines
651 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "yaswfp";
|
|
version = "unstable-20210331";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "facundobatista";
|
|
repo = pname;
|
|
rev = "2a2cc6ca4c0b4d52bd2e658fb5f80fdc0db4924c";
|
|
sha256 = "1dxdz89hlycy1rnn269fwl1f0qxgxqarkc0ivs2m77f8xba2qgj9";
|
|
};
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [ "yaswfp" ];
|
|
|
|
meta = with lib; {
|
|
description = "Python SWF Parser";
|
|
homepage = "https://github.com/facundobatista/yaswfp";
|
|
license = with licenses; [ gpl3Only ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|