git.iko.soy/typeable/nixpkgs
on master help sign in
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

commit4b0000a1de2e4d45c9d3e9c232321f1dfe15e8fc authorPierre-Etienne Meunier <pierre-etienne.meunier@inria.fr> dateMon 29 Jan 2018, 18:17 (9 years ago) parent0d69363
2 files changed+47
pkgs/development/tools/database/pyrseas/default.nix+45 pkgs/top-level/all-packages.nix+2
pkgs/development/tools/database/pyrseas/default.nixnew file+45
@@ -0,0 +1,45 @@
1+{ stdenv, pythonPackages, fetchFromGitHub }:
2+
3+let
4+ pgdbconn = pythonPackages.buildPythonPackage rec {
5+ pname = "pgdbconn";
6+ version = "0.8.0";
7+ src = fetchFromGitHub {
8+ owner = "perseas";
9+ repo = "pgdbconn";
10+ rev = "26c1490e4f32e4b5b925e5b82014ad106ba5b057";
11+ sha256 = "09r4idk5kmqi3yig7ip61r6js8blnmac5n4q32cdcbp1rcwzdn6z";
12+ };
13+ # The tests are impure (they try to access a PostgreSQL server)
14+ doCheck = false;
15+ propagatedBuildInputs = [
16+ pythonPackages.psycopg2
17+ pythonPackages.pytest
18+ ];
19+ };
20+in
21+
22+pythonPackages.buildPythonApplication rec {
23+ pname = "pyrseas";
24+ version = "0.8.0";
25+ src = fetchFromGitHub {
26+ owner = "perseas";
27+ repo = "Pyrseas";
28+ rev = "2e9be763e61168cf20d28bd69010dc5875bd7b97";
29+ sha256 = "1h9vahplqh0rzqjsdq64qqar6hj1bpbc6nl1pqwwgca56385br8r";
30+ };
31+ # The tests are impure (they try to access a PostgreSQL server)
32+ doCheck = false;
33+ propagatedBuildInputs = [
34+ pythonPackages.psycopg2
35+ pythonPackages.pytest
36+ pythonPackages.pyyaml
37+ pgdbconn
38+ ];
39+ meta = {
40+ description = "A declarative language to describe PostgreSQL databases";
41+ homepage = http://perseas.github.io/;
42+ license = stdenv.lib.licenses.bsd3;
43+ maintainers = with stdenv.lib.maintainers; [ pmeunier ];
44+ };
45+}
pkgs/top-level/all-packages.nix+2
@@ -7808,6 +7808,8 @@ with pkgs;
78087808
78097809 pup = callPackage ../development/tools/pup { };
78107810
7811+ pyrseas = callPackage ../development/tools/database/pyrseas { };
7812+
78117813 qtcreator = libsForQt5.callPackage ../development/qtcreator { };
78127814
78137815 r10k = callPackage ../tools/system/r10k { };