mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-14 08:26:37 +01:00
Conflicts: pkgs/development/python-modules/bundlewrap/default.nix pkgs/development/python-modules/coverage/default.nix pkgs/development/python-modules/h5netcdf/default.nix pkgs/development/python-modules/hypothesis/default.nix pkgs/development/python-modules/numba/default.nix pkgs/development/python-modules/optype/default.nix pkgs/development/python-modules/setuptools-git-versioning/default.nix pkgs/development/python-modules/sphinx/default.nix
44 lines
883 B
Nix
44 lines
883 B
Nix
{
|
|
lib,
|
|
appdirs,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
hatch-vcs,
|
|
hatchling,
|
|
pytest-mock,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "platformdirs";
|
|
version = "4.5.1";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tox-dev";
|
|
repo = "platformdirs";
|
|
tag = version;
|
|
hash = "sha256-wDhhfS8r0fCYOUJUu2kwH+fyTPmS+aPUiqWN21Fedoc=";
|
|
};
|
|
|
|
build-system = [
|
|
hatchling
|
|
hatch-vcs
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
appdirs
|
|
pytest-mock
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [ "platformdirs" ];
|
|
|
|
meta = {
|
|
description = "Module for determining appropriate platform-specific directories";
|
|
homepage = "https://platformdirs.readthedocs.io/";
|
|
changelog = "https://github.com/tox-dev/platformdirs/releases/tag/${src.tag}";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
}
|