1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-24 02:46:38 +00:00
nixpkgs/pkgs/development/tools/database/pyrseas/default.nix
Ryan Mulligan b189247ba0 treewide: use more HTTPS URLs
Uses the HTTPS url for cases where the existing URL has a permanent
redirect. For each domain, at least one fixed derivation URL was
downloaded to test the domain is properly serving downloads.

Also fixes jbake source URL, which was broken.
2018-03-24 22:04:25 -07:00

46 lines
1.3 KiB
Nix

{ 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 = https://perseas.github.io/;
license = stdenv.lib.licenses.bsd3;
maintainers = with stdenv.lib.maintainers; [ pmeunier ];
};
}