mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 19:03:28 +00:00
python311Packages.weasel: init at 0.3.3
This commit is contained in:
parent
d4e8ce40f0
commit
2e54e0c0ca
83
pkgs/development/python-modules/weasel/default.nix
Normal file
83
pkgs/development/python-modules/weasel/default.nix
Normal file
@ -0,0 +1,83 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, setuptools
|
||||
, wheel
|
||||
, black
|
||||
, cloudpathlib
|
||||
, confection
|
||||
, isort
|
||||
, mypy
|
||||
, packaging
|
||||
, pre-commit
|
||||
, pydantic
|
||||
, pytest
|
||||
, requests
|
||||
, ruff
|
||||
, smart-open
|
||||
, srsly
|
||||
, typer
|
||||
, types-requests
|
||||
, types-setuptools
|
||||
, wasabi
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "weasel";
|
||||
version = "0.3.3";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "explosion";
|
||||
repo = "weasel";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-I8Omrez1wfAbCmr9hivqKN2fNgnFQRGm8OP7lb7YClk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
wheel
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
black
|
||||
cloudpathlib
|
||||
confection
|
||||
isort
|
||||
mypy
|
||||
packaging
|
||||
pre-commit
|
||||
pydantic
|
||||
pytest
|
||||
requests
|
||||
ruff
|
||||
smart-open
|
||||
srsly
|
||||
typer
|
||||
types-requests
|
||||
types-setuptools
|
||||
wasabi
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "weasel" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# This test requires internet access
|
||||
"test_project_assets"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Weasel: A small and easy workflow system";
|
||||
homepage = "https://github.com/explosion/weasel/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ GaetanLepage ];
|
||||
};
|
||||
}
|
@ -15492,6 +15492,8 @@ self: super: with self; {
|
||||
|
||||
wcwidth = callPackage ../development/python-modules/wcwidth { };
|
||||
|
||||
weasel = callPackage ../development/python-modules/weasel { };
|
||||
|
||||
weasyprint = callPackage ../development/python-modules/weasyprint { };
|
||||
|
||||
weaviate-client = callPackage ../development/python-modules/weaviate-client { };
|
||||
|
Loading…
Reference in New Issue
Block a user