pythonPackages.apsw: 3.9.2-r1 -> 3.22.0-r1

Replaced fetchPypi with fetchFromGitHub because no new version has been uploaded to pypi since 2016, but there are new releases on github
This commit is contained in:
Marti Serra 2018-04-13 09:43:57 +02:00
parent 0288f77c30
commit a49cb860c3

View file

@ -1,24 +1,24 @@
{ stdenv, buildPythonPackage, fetchPypi
{ stdenv, buildPythonPackage, fetchFromGitHub
, sqlite, isPyPy }:
buildPythonPackage rec {
pname = "apsw";
version = "3.9.2-r1";
version = "3.22.0-r1";
disabled = isPyPy;
src = fetchPypi {
inherit pname version;
sha256 = "dab96fd164dde9e59f7f27228291498217fa0e74048e2c08c7059d7e39589270";
src = fetchFromGitHub {
owner = "rogerbinns";
repo = "apsw";
rev = version;
sha256 = "02ldvshcgr4c7c8anp4flfnw8g8ys5bflkb8b51rb618qxhhwyak";
};
buildInputs = [ sqlite ];
# python: double free or corruption (fasttop): 0x0000000002fd4660 ***
# doCheck = false;
meta = with stdenv.lib; {
description = "A Python wrapper for the SQLite embedded relational database engine";
homepage = http://code.google.com/p/apsw/;
homepage = https://github.com/rogerbinns/apsw;
license = licenses.zlib;
};
}