15 buildPythonPackage rec {
16 pname = "pycookiecheat";
20 disabled = pythonOlder "3.7";
22 src = fetchFromGitHub {
24 repo = "pycookiecheat";
25 rev = "refs/tags/v${version}";
26 hash = "sha256-mSc5FqMM8BICVEdSdsIny9Bnk6qCRekPk4RkBusDoVA=";
40 propagatedBuildInputs = [
50 pythonImportsCheck = [
55 export HOME=$(mktemp -d)
59 # Tests want to use playwright executable
62 "test_firefox_cookies"
63 "test_load_firefox_cookie_db"
64 "test_firefox_no_cookies"
65 "test_firefox_get_default_profile"
66 ] ++ lib.optionals stdenv.isDarwin [
71 description = "Borrow cookies from your browser's authenticated session for use in Python scripts";
72 homepage = "https://github.com/n8henrie/pycookiecheat";
73 changelog = "https://github.com/n8henrie/pycookiecheat/blob/v${version}/CHANGELOG.md";
74 license = licenses.mit;
75 maintainers = with maintainers; [ fab ];