pythonPackages.minidb: 2.0.1 -> 2.0.2

enable tests and move to python-modules
This commit is contained in:
Chris Ostrouchov 2018-10-15 14:43:03 -04:00 committed by Frederik Rietdijk
parent 6fd8fb98d9
commit 1c4bd5703c
2 changed files with 30 additions and 15 deletions

View File

@ -0,0 +1,29 @@
{ stdenv
, buildPythonPackage
, fetchurl
, nose
}:
buildPythonPackage rec {
pname = "minidb";
version = "2.0.2";
src = fetchurl {
url = "https://github.com/thp/minidb/archive/${version}.tar.gz";
sha256 = "17rvkpq8v7infvbgsi48vnxamhxb3f635nqn0sln7yyvh4i9k8a0";
};
checkInputs = [ nose ];
checkPhase = ''
nosetests test
'';
meta = with stdenv.lib; {
description = "A simple SQLite3-based store for Python objects";
homepage = https://thp.io/2010/minidb/;
license = stdenv.lib.licenses.isc;
maintainers = [ stdenv.lib.maintainers.tv ];
};
}

View File

@ -1431,21 +1431,7 @@ in {
MDP = callPackage ../development/python-modules/mdp {}; MDP = callPackage ../development/python-modules/mdp {};
minidb = buildPythonPackage rec { minidb = callPackage ../development/python-modules/minidb { };
name = "minidb-2.0.1";
src = pkgs.fetchurl {
url = "https://thp.io/2010/minidb/${name}.tar.gz";
sha256 = "1x958zr9jc26vaqij451qb9m2l7apcpz34ir9fwfjg4fwv24z2dy";
};
meta = {
description = "A simple SQLite3-based store for Python objects";
homepage = https://thp.io/2010/minidb/;
license = stdenv.lib.licenses.isc;
maintainers = [ stdenv.lib.maintainers.tv ];
};
};
miniupnpc = callPackage ../development/python-modules/miniupnpc {}; miniupnpc = callPackage ../development/python-modules/miniupnpc {};