1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-19 07:59:24 +03:00
nixpkgs/pkgs/development/python-modules/fastcore/default.nix
2022-02-25 04:02:41 +00:00

40 lines
731 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, packaging
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "fastcore";
version = "1.3.29";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "fastai";
repo = pname;
rev = version;
sha256 = "sha256-V5mJJqWsCy8Wes8VzEkCKeb2/1ahvtbUO80R8IFLvNU=";
};
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 ];
};
}