diff --git a/pkgs/development/python-modules/apsw/default.nix b/pkgs/development/python-modules/apsw/default.nix index 1846517a448f..54e37bf56a3b 100644 --- a/pkgs/development/python-modules/apsw/default.nix +++ b/pkgs/development/python-modules/apsw/default.nix @@ -1,24 +1,20 @@ { lib, buildPythonPackage, - fetchFromGitHub, - pythonOlder, + fetchurl, setuptools, sqlite, }: buildPythonPackage rec { pname = "apsw"; - version = "3.46.1.0"; + version = "3.48.0.0"; pyproject = true; - disabled = pythonOlder "3.8"; - - src = fetchFromGitHub { - owner = "rogerbinns"; - repo = "apsw"; - tag = version; - hash = "sha256-/MMCwdd2juFbv/lrYwuO2mdWm0+v+YFn6h9CwdQMTpg="; + # https://github.com/rogerbinns/apsw/issues/548 + src = fetchurl { + url = "https://github.com/rogerbinns/apsw/releases/download/${version}/apsw-${version}.tar.gz"; + hash = "sha256-iwvUW6vOQu2EiUuYWVaz5D3ePSLrj81fmLxoGRaTzRk="; }; build-system = [ setuptools ]; @@ -35,11 +31,11 @@ buildPythonPackage rec { pythonImportsCheck = [ "apsw" ]; - meta = with lib; { - changelog = "https://github.com/rogerbinns/apsw/blob/${src.rev}/doc/changes.rst"; + meta = { + changelog = "https://github.com/rogerbinns/apsw/blob/${version}/doc/changes.rst"; description = "Python wrapper for the SQLite embedded relational database engine"; homepage = "https://github.com/rogerbinns/apsw"; - license = licenses.zlib; - maintainers = with maintainers; [ gador ]; + license = lib.licenses.zlib; + maintainers = with lib.maintainers; [ gador ]; }; }