pythonPackages.minidb: 2.0.1 -> 2.0.2
enable tests and move to python-modules
This commit is contained in:
parent
6fd8fb98d9
commit
1c4bd5703c
29
pkgs/development/python-modules/minidb/default.nix
Normal file
29
pkgs/development/python-modules/minidb/default.nix
Normal 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 ];
|
||||
};
|
||||
|
||||
}
|
@ -1431,21 +1431,7 @@ in {
|
||||
|
||||
MDP = callPackage ../development/python-modules/mdp {};
|
||||
|
||||
minidb = buildPythonPackage rec {
|
||||
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 ];
|
||||
};
|
||||
};
|
||||
minidb = callPackage ../development/python-modules/minidb { };
|
||||
|
||||
miniupnpc = callPackage ../development/python-modules/miniupnpc {};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user