1 { lib, python3Packages, fetchFromGitHub }:
4 pgdbconn = python3Packages.buildPythonPackage rec {
8 src = fetchFromGitHub {
12 sha256 = "09r4idk5kmqi3yig7ip61r6js8blnmac5n4q32cdcbp1rcwzdn6z";
15 # The tests are impure (they try to access a PostgreSQL server)
18 propagatedBuildInputs = with python3Packages; [ psycopg2 pytest ];
22 python3Packages.buildPythonApplication rec {
26 src = fetchFromGitHub {
30 sha256 = "sha256-+MxnxvbLMxK1Ak+qKpKe3GHbzzC+XHO0eR7rl4ON9H4=";
33 propagatedBuildInputs = with python3Packages; [
40 # The tests are impure (they try to access a PostgreSQL server)
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 ];