Files
nixpkgs/pkgs/development/python-modules/browser-cookie3/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

51 lines
992 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 = {
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 = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ borisbabic ];
};
}