mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-08 08:24:10 +01:00
There is no need to disable Python packages for Python versions that are
no longer in Nixpkgs.
This change was generated using the following script:
pattern='^\s*disabled\s*=\s*pythonOlder\s*"3\.\([0-9]\|10\)"\s*;\s*$'
for f in $(find -name '*.nix'); do
grep -q "$pattern" "$f" || continue
sed -i "/$pattern/d" "$f"
if [ $(grep -c pythonOlder "$f") == 1 ]; then
sed -i '/^\s*pythonOlder,\s*$/d' "$f"
fi
nixfmt "$f"
done
54 lines
1.1 KiB
Nix
54 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
beautifulsoup4,
|
|
deprecated,
|
|
jmespath,
|
|
lxml,
|
|
oauthlib,
|
|
requests,
|
|
requests-kerberos,
|
|
requests-oauthlib,
|
|
six,
|
|
typing-extensions,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "atlassian-python-api";
|
|
version = "4.0.7";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "atlassian-api";
|
|
repo = "atlassian-python-api";
|
|
tag = version;
|
|
hash = "sha256-8zfM/3apGMo6sTPA5ESu2SkgVOJUA09Wz/pGR12fA7c=";
|
|
};
|
|
|
|
dependencies = [
|
|
beautifulsoup4
|
|
deprecated
|
|
jmespath
|
|
lxml
|
|
oauthlib
|
|
requests
|
|
requests-kerberos
|
|
requests-oauthlib
|
|
six
|
|
typing-extensions
|
|
];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "atlassian" ];
|
|
|
|
meta = {
|
|
description = "Python Atlassian REST API Wrapper";
|
|
homepage = "https://github.com/atlassian-api/atlassian-python-api";
|
|
changelog = "https://github.com/atlassian-api/atlassian-python-api/releases/tag/${src.tag}";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ arnoldfarkas ];
|
|
};
|
|
}
|