mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
a49cb860c3
Replaced fetchPypi with fetchFromGitHub because no new version has been uploaded to pypi since 2016, but there are new releases on github
25 lines
556 B
Nix
25 lines
556 B
Nix
{ stdenv, buildPythonPackage, fetchFromGitHub
|
|
, sqlite, isPyPy }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "apsw";
|
|
version = "3.22.0-r1";
|
|
|
|
disabled = isPyPy;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rogerbinns";
|
|
repo = "apsw";
|
|
rev = version;
|
|
sha256 = "02ldvshcgr4c7c8anp4flfnw8g8ys5bflkb8b51rb618qxhhwyak";
|
|
};
|
|
|
|
buildInputs = [ sqlite ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A Python wrapper for the SQLite embedded relational database engine";
|
|
homepage = https://github.com/rogerbinns/apsw;
|
|
license = licenses.zlib;
|
|
};
|
|
}
|