nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib
2, buildPythonPackage
3, fetchPypi
4, pytestCheckHook
5, FormEncode
6, pastedeploy
7, paste
8, pydispatcher
9}:
10
11buildPythonPackage rec {
12 pname = "sqlobject";
13 version = "3.9.1";
14 format = "setuptools";
15
16 src = fetchPypi {
17 pname = "SQLObject";
18 inherit version;
19 sha256 = "45064184decf7f42d386704e5f47a70dee517d3e449b610506e174025f84d921";
20 };
21
22 propagatedBuildInputs = [
23 FormEncode
24 paste
25 pastedeploy
26 pydispatcher
27 ];
28
29 checkInputs = [
30 pytestCheckHook
31 ];
32
33 disabledTests = [
34 # https://github.com/sqlobject/sqlobject/issues/179
35 "test_fail"
36 ];
37
38 pythonImportsCheck = [
39 "sqlobject"
40 ];
41
42 meta = with lib; {
43 description = "Object Relational Manager for providing an object interface to your database";
44 homepage = "http://www.sqlobject.org/";
45 license = licenses.lgpl21;
46 maintainers = with maintainers; [ ];
47 };
48}