1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/minidb/default.nix
Chris Ostrouchov 1c4bd5703c pythonPackages.minidb: 2.0.1 -> 2.0.2
enable tests and move to python-modules
2018-10-17 07:46:55 +02:00

30 lines
590 B
Nix

{ 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 ];
};
}