diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-12-11 16:51:21 +0100 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2021-12-15 12:38:10 +0100 |
commit | 834ff9a60412f510b755ce97dd7ff0678c4399fe (patch) | |
tree | 1e560f34c500662deb472f03afa3c5b03a215993 /pkgs/development/python-modules/fastcore/default.nix | |
parent | d977731ea5afd26e690009b486e72f96dcd6371a (diff) | |
download | nixpkgs-834ff9a60412f510b755ce97dd7ff0678c4399fe.tar nixpkgs-834ff9a60412f510b755ce97dd7ff0678c4399fe.tar.gz nixpkgs-834ff9a60412f510b755ce97dd7ff0678c4399fe.tar.bz2 nixpkgs-834ff9a60412f510b755ce97dd7ff0678c4399fe.tar.lz nixpkgs-834ff9a60412f510b755ce97dd7ff0678c4399fe.tar.xz nixpkgs-834ff9a60412f510b755ce97dd7ff0678c4399fe.tar.zst nixpkgs-834ff9a60412f510b755ce97dd7ff0678c4399fe.zip |
python3Packages.fastcore: init at 1.3.27
Diffstat (limited to 'pkgs/development/python-modules/fastcore/default.nix')
-rw-r--r-- | pkgs/development/python-modules/fastcore/default.nix | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/fastcore/default.nix b/pkgs/development/python-modules/fastcore/default.nix new file mode 100644 index 00000000000..4783b8d33c7 --- /dev/null +++ b/pkgs/development/python-modules/fastcore/default.nix @@ -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 ]; + }; +} |