mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 18:53:17 +00:00
42 lines
827 B
Nix
42 lines
827 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, packaging
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "fastcore";
|
|
version = "1.5.29";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "fastai";
|
|
repo = pname;
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-yCPOF150TdkPHfLl8Jo2oow+91IzRKgnXo3eQMn5wK0=";
|
|
};
|
|
|
|
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";
|
|
changelog = "https://github.com/fastai/fastcore/blob/${version}/CHANGELOG.md";
|
|
license = with licenses; [ asl20 ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|