diff --git a/flake.lock b/flake.lock index c4ba385..7282c6b 100644 --- a/flake.lock +++ b/flake.lock @@ -2,11 +2,11 @@ "nodes": { "nixpkgs": { "locked": { - "lastModified": 1705677747, - "narHash": "sha256-eyM3okYtMgYDgmYukoUzrmuoY4xl4FUujnsv/P6I/zI=", + "lastModified": 1725103162, + "narHash": "sha256-Ym04C5+qovuQDYL/rKWSR+WESseQBbNAe5DsXNx5trY=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "bbe7d8f876fbbe7c959c90ba2ae2852220573261", + "rev": "12228ff1752d7b7624a54e9c1af4b222b3c1073b", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 0f24b68..063d3e8 100644 --- a/flake.nix +++ b/flake.nix @@ -10,37 +10,18 @@ }; in { packages.x86_64-linux = with pkgs.python3Packages; rec { - lxml5 = buildPythonPackage rec { - pname = "lxml"; - version = "5.0.1"; - format = "setuptools"; - src = pkgs.fetchFromGitHub { - owner = pname; - repo = pname; - rev = "refs/tags/lxml-${version}"; - hash = "sha256-RAh93UJiBcRxXSARJvD3o91i+MdelwlaCEK2aVu0joc="; - }; - nativeBuildInputs = with pkgs; [ libxml2.dev libxslt.dev cython_3 ]; - buildInputs = with pkgs; [ libxml2 libxslt zlib ]; - - # tests are meant to be ran "in-place" in the same directory as src - doCheck = false; - - pythonImportsCheck = [ "lxml" "lxml.etree" ]; - }; - dlsite-async = buildPythonPackage rec { pname = "dlsite_async"; - version = "0.3.0"; + version = "0.5.1"; src = fetchPypi { inherit pname version; - sha256 = "sha256-cUhH7eNIoQUKt0nUl+wSGFGbZpKmtwPWyVR2PTJI1co="; + sha256 = "sha256-xvI13JqW+nOqU4vaeFblbIkiimyEwvGtY+56kRvv2fY="; }; patches = [ ./patches/dlsite-async.patch ]; pyproject = true; nativeBuildInputs = [ pkgs.pdm ]; propagatedBuildInputs = [ - lxml5 + lxml aiohttp beautifulsoup4 pdm-backend