mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
python311Packages.filedepot: init at 0.9.0
This commit is contained in:
parent
a175ac6ba8
commit
e3be7e3b8a
64
pkgs/development/python-modules/filedepot/default.nix
Normal file
64
pkgs/development/python-modules/filedepot/default.nix
Normal file
@ -0,0 +1,64 @@
|
||||
{ lib
|
||||
, anyascii
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, flaky
|
||||
, mock
|
||||
, paste
|
||||
, pillow
|
||||
, pymongo
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, requests
|
||||
, sqlalchemy
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "filedepot";
|
||||
version = "0.9.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "amol-";
|
||||
repo = "depot";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-OJc4Qwar3sKhKKF1WldwaueRG7FCboWT2wXYldHJbPU=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
anyascii
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
flaky
|
||||
mock
|
||||
paste
|
||||
pillow
|
||||
pymongo
|
||||
pytestCheckHook
|
||||
requests
|
||||
sqlalchemy
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# The examples have tests
|
||||
"examples"
|
||||
# Missing dependencies (TurboGears2 and ming)
|
||||
"tests/test_fields_ming.py"
|
||||
"tests/test_wsgi_middleware.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"depot"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Toolkit for storing files and attachments in web applications";
|
||||
homepage = "https://github.com/amol-/depot";
|
||||
changelog = "https://github.com/amol-/depot/releases/tag/${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -3554,6 +3554,8 @@ self: super: with self; {
|
||||
|
||||
filecheck = callPackage ../development/python-modules/filecheck { };
|
||||
|
||||
filedepot = callPackage ../development/python-modules/filedepot { };
|
||||
|
||||
filelock = callPackage ../development/python-modules/filelock { };
|
||||
|
||||
filetype = callPackage ../development/python-modules/filetype { };
|
||||
|
Loading…
Reference in New Issue
Block a user