ch9344: 2.0 -> 0-unstable-2024-11-15 (#354536)
[NixPkgs.git] / pkgs / development / python-modules / fastcore / default.nix
blobd7f6d3b67ae9fb210d374677e8e076ca79bb345f
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   packaging,
6   pythonOlder,
7   setuptools,
8 }:
10 buildPythonPackage rec {
11   pname = "fastcore";
12   version = "1.7.25";
13   pyproject = true;
15   disabled = pythonOlder "3.8";
17   src = fetchFromGitHub {
18     owner = "fastai";
19     repo = "fastcore";
20     tag = version;
21     hash = "sha256-YsZBPcGWKxE5Cl3HCmB2ZDecFuQa5Q5aTEbZ5ijmB24=";
22   };
24   build-system = [ setuptools ];
26   dependencies = [ packaging ];
28   # Module has no tests
29   doCheck = false;
31   pythonImportsCheck = [ "fastcore" ];
33   meta = with lib; {
34     description = "Python module for Fast AI";
35     homepage = "https://github.com/fastai/fastcore";
36     changelog = "https://github.com/fastai/fastcore/blob/${version}/CHANGELOG.md";
37     license = with licenses; [ asl20 ];
38     maintainers = with maintainers; [ fab ];
39   };