frilouz: init at 0.0.2

This commit is contained in:
Phillip Cloud 2021-07-22 07:48:34 -04:00
parent 67ea2e1044
commit 4b69fe1dc9
2 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,38 @@
{ lib
, astunparse
, buildPythonPackage
, fetchFromGitHub
, isPy3k
}:
buildPythonPackage rec {
pname = "frilouz";
version = "0.0.2";
disabled = !isPy3k;
src = fetchFromGitHub {
owner = "QuantStack";
repo = "frilouz";
rev = version;
sha256 = "0w2qzi4zb10r9iw64151ay01vf0yzyhh0bsjkx1apxp8fs15cdiw";
};
checkInputs = [ astunparse ];
preCheck = "cd test";
checkPhase = ''
runHook preCheck
python -m unittest
runHook postCheck
'';
pythonImportsCheck = [ "frilouz" ];
meta = with lib; {
homepage = "https://github.com/QuantStack/frilouz";
description = "Python AST parser adapter with partial error recovery";
license = licenses.bsd3;
maintainers = with maintainers; [ cpcloud ];
};
}

View file

@ -2734,6 +2734,8 @@ in {
freezegun = callPackage ../development/python-modules/freezegun { };
frilouz = callPackage ../development/python-modules/frilouz { };
fritzconnection = callPackage ../development/python-modules/fritzconnection { };
fritzprofiles = callPackage ../development/python-modules/fritzprofiles { };