Pyrseas: init at 0.8.0 (#34225)
* Pyrseas: init at 0.8.0 Pyrseas is a declarative tool for managing PostgreSQL schemas. * Replacing python27Packages with python2Packages * Explaining why the tests are disabled * Pyrseas: updating after review
This commit is contained in:
parent
0d69363ede
commit
4b0000a1de
45
pkgs/development/tools/database/pyrseas/default.nix
Normal file
45
pkgs/development/tools/database/pyrseas/default.nix
Normal file
@ -0,0 +1,45 @@
|
||||
{ stdenv, pythonPackages, fetchFromGitHub }:
|
||||
|
||||
let
|
||||
pgdbconn = pythonPackages.buildPythonPackage rec {
|
||||
pname = "pgdbconn";
|
||||
version = "0.8.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "perseas";
|
||||
repo = "pgdbconn";
|
||||
rev = "26c1490e4f32e4b5b925e5b82014ad106ba5b057";
|
||||
sha256 = "09r4idk5kmqi3yig7ip61r6js8blnmac5n4q32cdcbp1rcwzdn6z";
|
||||
};
|
||||
# The tests are impure (they try to access a PostgreSQL server)
|
||||
doCheck = false;
|
||||
propagatedBuildInputs = [
|
||||
pythonPackages.psycopg2
|
||||
pythonPackages.pytest
|
||||
];
|
||||
};
|
||||
in
|
||||
|
||||
pythonPackages.buildPythonApplication rec {
|
||||
pname = "pyrseas";
|
||||
version = "0.8.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "perseas";
|
||||
repo = "Pyrseas";
|
||||
rev = "2e9be763e61168cf20d28bd69010dc5875bd7b97";
|
||||
sha256 = "1h9vahplqh0rzqjsdq64qqar6hj1bpbc6nl1pqwwgca56385br8r";
|
||||
};
|
||||
# The tests are impure (they try to access a PostgreSQL server)
|
||||
doCheck = false;
|
||||
propagatedBuildInputs = [
|
||||
pythonPackages.psycopg2
|
||||
pythonPackages.pytest
|
||||
pythonPackages.pyyaml
|
||||
pgdbconn
|
||||
];
|
||||
meta = {
|
||||
description = "A declarative language to describe PostgreSQL databases";
|
||||
homepage = http://perseas.github.io/;
|
||||
license = stdenv.lib.licenses.bsd3;
|
||||
maintainers = with stdenv.lib.maintainers; [ pmeunier ];
|
||||
};
|
||||
}
|
@ -7808,6 +7808,8 @@ with pkgs;
|
||||
|
||||
pup = callPackage ../development/tools/pup { };
|
||||
|
||||
pyrseas = callPackage ../development/tools/database/pyrseas { };
|
||||
|
||||
qtcreator = libsForQt5.callPackage ../development/qtcreator { };
|
||||
|
||||
r10k = callPackage ../tools/system/r10k { };
|
||||
|
Loading…
Reference in New Issue
Block a user