mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
python311Packages.flufl-lock: refactor
- add meta.changelog - use `pyproject = true` - add pythonImportsCheck - set disabled python versions
This commit is contained in:
parent
9e74247757
commit
7934203c37
@ -1,4 +1,4 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, pytestCheckHook
|
||||
{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, pythonOlder
|
||||
, atpublic, psutil, pytest-cov, sybil
|
||||
, pdm-pep517
|
||||
}:
|
||||
@ -6,7 +6,9 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "flufl-lock";
|
||||
version = "7.1.1";
|
||||
format = "pyproject";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "flufl.lock";
|
||||
@ -23,11 +25,19 @@ buildPythonPackage rec {
|
||||
# relevant to the user.
|
||||
pytestFlagsArray = [ "--no-cov" ];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"flufl.lock"
|
||||
];
|
||||
|
||||
pythonNamespaces = [
|
||||
"flufl"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://flufllock.readthedocs.io/";
|
||||
description = "NFS-safe file locking with timeouts for POSIX and Windows";
|
||||
changelog = "https://gitlab.com/warsaw/flufl.lock/-/blob/${version}/docs/NEWS.rst";
|
||||
maintainers = with maintainers; [ qyliss ];
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user