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

@ -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": {

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