update deps

This commit is contained in:
xenofem 2024-09-01 12:06:10 -04:00
parent 8f798e8c21
commit 1d798476c9
2 changed files with 6 additions and 25 deletions

View file

@ -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