pythonPackages.pgspecial: 1.8.0 -> 1.11.2
This commit is contained in:
parent
83d89edc6e
commit
336a913f42
25
pkgs/development/python-modules/pgspecial/default.nix
Normal file
25
pkgs/development/python-modules/pgspecial/default.nix
Normal file
@ -0,0 +1,25 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, pytest, psycopg2, click, sqlparse }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pgspecial";
|
||||
version = "1.11.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1yq3cmpdcvwsz3nifc0db125433vxbgbpmbhxfj46b9s5k81xs30";
|
||||
};
|
||||
|
||||
buildInputs = [ pytest psycopg2 ];
|
||||
propagatedBuildInputs = [ click sqlparse ];
|
||||
|
||||
checkPhase = ''
|
||||
find tests -name \*.pyc -delete
|
||||
py.test tests
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Meta-commands handler for Postgres Database";
|
||||
homepage = https://pypi.python.org/pypi/pgspecial;
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
}
|
@ -9458,31 +9458,7 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
pgspecial = buildPythonPackage rec {
|
||||
pname = "pgspecial";
|
||||
version = "1.8.0";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1dwlv3m4jl34zsakmvxg6hgbfv786jl8dcffxsrlnmcpks829xc9";
|
||||
};
|
||||
|
||||
buildInputs = with self; [ pytest psycopg2 ];
|
||||
|
||||
checkPhase = ''
|
||||
find tests -name \*.pyc -delete
|
||||
py.test tests
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = with self; [ click sqlparse ];
|
||||
|
||||
meta = {
|
||||
description = "Meta-commands handler for Postgres Database";
|
||||
homepage = https://pypi.python.org/pypi/pgspecial;
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
};
|
||||
pgspecial = callPackage ../development/python-modules/pgspecial { };
|
||||
|
||||
pickleshare = buildPythonPackage rec {
|
||||
version = "0.7.4";
|
||||
|
Loading…
Reference in New Issue
Block a user