python3Packages.fastcore: init at 1.3.27

This commit is contained in:
Fabian Affolter 2021-12-11 16:51:21 +01:00
parent d977731ea5
commit 834ff9a604
2 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,40 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, packaging
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "fastcore";
version = "1.3.27";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "fastai";
repo = pname;
rev = version;
sha256 = "sha256-ogCNDh18FHP9KY0q0BIbsjPH5vGGioGh4FFUUb3c3Jc=";
};
propagatedBuildInputs = [
packaging
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"fastcore"
];
meta = with lib; {
description = "Python module for Fast AI";
homepage = "https://github.com/fastai/fastcore";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -2680,6 +2680,8 @@ in {
fastcache = callPackage ../development/python-modules/fastcache { };
fastcore = callPackage ../development/python-modules/fastcore { };
fastdiff = callPackage ../development/python-modules/fastdiff { };
fastdtw = callPackage ../development/python-modules/fastdtw { };