lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

authored by

Pierre-Etienne Meunier and committed by
Frederik Rietdijk
4b0000a1 0d69363e

+47
+45
pkgs/development/tools/database/pyrseas/default.nix
··· 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 + }
+2
pkgs/top-level/all-packages.nix
··· 7808 7808 7809 7809 pup = callPackage ../development/tools/pup { }; 7810 7810 7811 + pyrseas = callPackage ../development/tools/database/pyrseas { }; 7812 + 7811 7813 qtcreator = libsForQt5.callPackage ../development/qtcreator { }; 7812 7814 7813 7815 r10k = callPackage ../tools/system/r10k { };