python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / tools / database / pyrseas / default.nix
blobcf93f114e7db58d7d03aeee0f9c72c9c72b00ab5
1 { lib, python3Packages, fetchFromGitHub }:
3 let
4   pgdbconn = python3Packages.buildPythonPackage rec {
5     pname = "pgdbconn";
6     version = "0.8.0";
8     src = fetchFromGitHub {
9       owner = "perseas";
10       repo = "pgdbconn";
11       rev = "v${version}";
12       sha256 = "09r4idk5kmqi3yig7ip61r6js8blnmac5n4q32cdcbp1rcwzdn6z";
13     };
15     # The tests are impure (they try to access a PostgreSQL server)
16     doCheck = false;
18     propagatedBuildInputs = with python3Packages; [ psycopg2 pytest ];
19   };
22 python3Packages.buildPythonApplication rec {
23   pname = "pyrseas";
24   version = "0.9.1";
26   src = fetchFromGitHub {
27     owner = "perseas";
28     repo = "Pyrseas";
29     rev = version;
30     sha256 = "sha256-+MxnxvbLMxK1Ak+qKpKe3GHbzzC+XHO0eR7rl4ON9H4=";
31   };
33   propagatedBuildInputs = with python3Packages; [
34     psycopg2
35     pytest
36     pyyaml
37     pgdbconn
38   ];
40   # The tests are impure (they try to access a PostgreSQL server)
41   doCheck = false;
43   meta = {
44     description = "A declarative language to describe PostgreSQL databases";
45     homepage = "https://perseas.github.io/";
46     license = lib.licenses.bsd3;
47     maintainers = with lib.maintainers; [ pmeunier ];
48   };