blob: 819a79bdfa5ceb0157fee9e42bf93f405f0c00a1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
packaging,
pytestCheckHook,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "fastcore";
version = "1.5.51";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "fastai";
repo = "fastcore";
rev = "refs/tags/${version}";
hash = "sha256-Dx+HnrVsceiwOORRW1PmmjvHJNcKzWjdIYIOW19FT7U=";
};
build-system = [ setuptools ];
dependencies = [ 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 ];
};
}
|