Files
nixpkgs/pkgs/development/python-modules/browser-cookie3/default.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

51 lines
994 B
Nix

{
lib,
fetchFromGitHub,
buildPythonPackage,
pythonOlder,
setuptools,
lz4,
keyring,
pbkdf2,
pycryptodomex,
pyaes,
}:
buildPythonPackage rec {
pname = "browser-cookie3";
version = "0.20.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "borisbabic";
repo = "browser_cookie3";
tag = version;
hash = "sha256-3EmFx+9LQFuS26mUPH/etc6hkUXqmNOOipbldhjorDE=";
};
build-system = [ setuptools ];
dependencies = [
lz4
keyring
pbkdf2
pyaes
pycryptodomex
];
# No tests implemented
doCheck = false;
pythonImportsCheck = [ "browser_cookie3" ];
meta = with lib; {
description = "Loads cookies from your browser into a cookiejar object";
homepage = "https://github.com/borisbabic/browser_cookie3";
changelog = "https://github.com/borisbabic/browser_cookie3/blob/master/CHANGELOG.md";
license = licenses.gpl3Only;
maintainers = with maintainers; [ borisbabic ];
};
}