mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-14 08:26:37 +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
47 lines
944 B
Nix
47 lines
944 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
buildPythonPackage,
|
|
setuptools,
|
|
lz4,
|
|
keyring,
|
|
pbkdf2,
|
|
pycryptodomex,
|
|
pyaes,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "browser-cookie3";
|
|
version = "0.20.1";
|
|
pyproject = true;
|
|
|
|
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 ];
|
|
};
|
|
}
|