Merge pull request #151116 from zhaofengli/powerdns-admin-0.2.4
powerdns-admin: 0.2.3 -> 0.2.4
This commit is contained in:
commit
e0f466e9ff
@ -1,12 +1,12 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub, mkYarnPackage, nixosTests, writeText, python3 }:
|
{ lib, stdenv, fetchFromGitHub, mkYarnPackage, nixosTests, writeText, python3 }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "0.2.3";
|
version = "0.2.4";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ngoduykhanh";
|
owner = "ngoduykhanh";
|
||||||
repo = "PowerDNS-Admin";
|
repo = "PowerDNS-Admin";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "16faz57d77mxkflkvwyi8gb9wvnq2vhw79b84v1fmqvxri1yaphw";
|
sha256 = "sha256-xJ0NNnDVwGl+t9q1INPhCxcTmQayYBYdjEG0PbPCI9E=";
|
||||||
};
|
};
|
||||||
|
|
||||||
python = python3.override {
|
python = python3.override {
|
||||||
@ -22,7 +22,7 @@ let
|
|||||||
};
|
};
|
||||||
|
|
||||||
pythonDeps = with python.pkgs; [
|
pythonDeps = with python.pkgs; [
|
||||||
flask flask_assets flask_login flask_sqlalchemy flask_migrate flask-seasurf flask_mail flask-sslify
|
flask flask_assets flask_login flask_sqlalchemy flask_migrate flask-seasurf flask_mail flask-session flask-sslify
|
||||||
mysqlclient psycopg2 sqlalchemy
|
mysqlclient psycopg2 sqlalchemy
|
||||||
cffi configobj cryptography bcrypt requests ldap pyotp qrcode dnspython
|
cffi configobj cryptography bcrypt requests ldap pyotp qrcode dnspython
|
||||||
gunicorn python3-saml pyopenssl pytz cssmin jsmin authlib bravado-core
|
gunicorn python3-saml pyopenssl pytz cssmin jsmin authlib bravado-core
|
||||||
@ -125,6 +125,6 @@ in stdenv.mkDerivation rec {
|
|||||||
description = "A PowerDNS web interface with advanced features";
|
description = "A PowerDNS web interface with advanced features";
|
||||||
homepage = "https://github.com/ngoduykhanh/PowerDNS-Admin";
|
homepage = "https://github.com/ngoduykhanh/PowerDNS-Admin";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ zhaofengli ];
|
maintainers = with maintainers; [ Flakebi zhaofengli ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -12,5 +12,5 @@
|
|||||||
"multiselect": "^0.9.12"
|
"multiselect": "^0.9.12"
|
||||||
},
|
},
|
||||||
"name": "powerdns-admin-assets",
|
"name": "powerdns-admin-assets",
|
||||||
"version": "0.2.3"
|
"version": "0.2.4"
|
||||||
}
|
}
|
||||||
|
@ -114,11 +114,11 @@
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
name = "bn.js___bn.js_4.11.9.tgz";
|
name = "bn.js___bn.js_4.12.0.tgz";
|
||||||
path = fetchurl {
|
path = fetchurl {
|
||||||
name = "bn.js___bn.js_4.11.9.tgz";
|
name = "bn.js___bn.js_4.12.0.tgz";
|
||||||
url = "https://registry.yarnpkg.com/bn.js/-/bn.js-4.11.9.tgz";
|
url = "https://registry.yarnpkg.com/bn.js/-/bn.js-4.12.0.tgz";
|
||||||
sha1 = "26d556829458f9d1e81fc48952493d0ba3507828";
|
sha1 = "775b3f278efbb9718eec7361f483fb36fbbfea88";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
@ -530,11 +530,11 @@
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
name = "elliptic___elliptic_6.5.3.tgz";
|
name = "elliptic___elliptic_6.5.4.tgz";
|
||||||
path = fetchurl {
|
path = fetchurl {
|
||||||
name = "elliptic___elliptic_6.5.3.tgz";
|
name = "elliptic___elliptic_6.5.4.tgz";
|
||||||
url = "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.3.tgz";
|
url = "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.4.tgz";
|
||||||
sha1 = "cb59eb2efdaf73a0bd78ccd7015a62ad6e0f93d6";
|
sha1 = "da37cebd31e79a1367e941b592ed1fbebd58abbb";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
27
pkgs/development/python-modules/flask-session/default.nix
Normal file
27
pkgs/development/python-modules/flask-session/default.nix
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
{ lib, fetchPypi, buildPythonPackage, pytestCheckHook, flask, cachelib }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "Flask-Session";
|
||||||
|
version = "0.4.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "sha256-ye1UMh+oxMoBMv/TNpWCdZ7aclL7SzvuSA5pDRukH0Y=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ flask cachelib ];
|
||||||
|
|
||||||
|
checkInputs = [ pytestCheckHook ];
|
||||||
|
|
||||||
|
# The rest of the tests require database servers and optional db connector dependencies
|
||||||
|
pytestFlagsArray = [ "-k" "'null_session or filesystem_session'" ];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "flask_session" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A Flask extension that adds support for server-side sessions";
|
||||||
|
homepage = "https://github.com/fengsp/flask-session";
|
||||||
|
license = licenses.bsd3;
|
||||||
|
maintainers = with maintainers; [ zhaofengli ];
|
||||||
|
};
|
||||||
|
}
|
@ -2877,6 +2877,8 @@ in {
|
|||||||
|
|
||||||
flask-seasurf = callPackage ../development/python-modules/flask-seasurf { };
|
flask-seasurf = callPackage ../development/python-modules/flask-seasurf { };
|
||||||
|
|
||||||
|
flask-session = callPackage ../development/python-modules/flask-session { };
|
||||||
|
|
||||||
flask-silk = callPackage ../development/python-modules/flask-silk { };
|
flask-silk = callPackage ../development/python-modules/flask-silk { };
|
||||||
|
|
||||||
flask-socketio = callPackage ../development/python-modules/flask-socketio { };
|
flask-socketio = callPackage ../development/python-modules/flask-socketio { };
|
||||||
|
Loading…
Reference in New Issue
Block a user