Merge pull request #76631 from kamadorueda/pythonPackages
Add many new pythonPackages
This commit is contained in:
commit
0d0a4f160e
|
@ -3560,6 +3560,16 @@
|
|||
githubId = 87115;
|
||||
name = "Wael Nasreddine";
|
||||
};
|
||||
kamadorueda = {
|
||||
name = "Kevin Amado";
|
||||
email = "kamadorueda@gmail.com";
|
||||
github = "kamadorueda";
|
||||
githubId = 47480384;
|
||||
keys = [{
|
||||
longkeyid = "rsa4096/0x04D0CEAF916A9A40";
|
||||
fingerprint = "2BE3 BAFD 793E A349 ED1F F00F 04D0 CEAF 916A 9A40";
|
||||
}];
|
||||
};
|
||||
kamilchm = {
|
||||
email = "kamil.chm@gmail.com";
|
||||
github = "kamilchm";
|
||||
|
|
|
@ -0,0 +1,53 @@
|
|||
{ buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy38
|
||||
, lib
|
||||
|
||||
# pythonPackages
|
||||
, azure-common
|
||||
, azure-core
|
||||
, azure-nspkg
|
||||
, cryptography
|
||||
, mock
|
||||
, msal
|
||||
, msal-extensions
|
||||
, msrest
|
||||
, msrestazure
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "azure-identity";
|
||||
version = "1.1.0";
|
||||
disabled = isPy38;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "1xn4nwi4vly8n3mmphv0wbdg9k55gsgmk3fdwma8rm3m3c7593hc";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
azure-common
|
||||
azure-core
|
||||
azure-nspkg
|
||||
cryptography
|
||||
mock
|
||||
msal
|
||||
msal-extensions
|
||||
msrest
|
||||
msrestazure
|
||||
];
|
||||
|
||||
# Requires checkout from mono-repo and a mock account:
|
||||
# https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/identity/tests.yml
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Microsoft Azure Identity Library for Python";
|
||||
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [
|
||||
kamadorueda
|
||||
];
|
||||
};
|
||||
}
|
|
@ -0,0 +1,35 @@
|
|||
{ buildPythonPackage
|
||||
, fetchPypi
|
||||
, lib
|
||||
|
||||
# pythonPackages
|
||||
, azure-nspkg
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "azure-keyvault-nspkg";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "0hdnd6124hx7s16z1pssmq5m5mqqqz8s38ixl9aayv4wmf5bhs5c";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
azure-nspkg
|
||||
];
|
||||
|
||||
# Just a namespace package, no tests exist:
|
||||
# https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/keyvault/tests.yml
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Microsoft Azure Key Vault Namespace Package [Internal]";
|
||||
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [
|
||||
kamadorueda
|
||||
];
|
||||
};
|
||||
}
|
|
@ -0,0 +1,44 @@
|
|||
{ buildPythonPackage
|
||||
, fetchPypi
|
||||
, lib
|
||||
, isPy3k
|
||||
|
||||
# pythonPackages
|
||||
, GitPython
|
||||
, pbr
|
||||
, pyyaml
|
||||
, six
|
||||
, stevedore
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bandit";
|
||||
version = "1.6.2";
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0rb034c99pyhb4a60z7f2kz40cjydhm8m9v2blaal1rmhlam7rs1";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
GitPython
|
||||
pbr
|
||||
pyyaml
|
||||
six
|
||||
stevedore
|
||||
];
|
||||
|
||||
# Framework is Tox, tox performs 'pip install' inside the virtual-env
|
||||
# and this requires Network Connectivity
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Security oriented static analyser for python code";
|
||||
homepage = "https://bandit.readthedocs.io/en/latest/";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [
|
||||
kamadorueda
|
||||
];
|
||||
};
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
{ buildPythonPackage
|
||||
, fetchPypi
|
||||
, lib
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "javaobj-py3";
|
||||
version = "0.3.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0j9532i7bnjd0v4a8c36mjj9rsdnbmckk65dh9sbmvnhy3j6jx55";
|
||||
};
|
||||
|
||||
# Tests assume network connectivity
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Module for serializing and de-serializing Java objects";
|
||||
homepage = "https://github.com/tcalmant/python-javaobj";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [
|
||||
kamadorueda
|
||||
];
|
||||
};
|
||||
}
|
|
@ -0,0 +1,35 @@
|
|||
{ buildPythonPackage
|
||||
, fetchPypi
|
||||
, lib
|
||||
|
||||
# pythonPackages
|
||||
, msal
|
||||
, portalocker
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "msal-extensions";
|
||||
version = "0.1.3";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1p05cbfksnhijx1il7s24js2ydzgxbpiasf607qdpb5sljlp3qar";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
msal
|
||||
portalocker
|
||||
];
|
||||
|
||||
# No tests found
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "The Microsoft Authentication Library Extensions (MSAL-Extensions) for Python";
|
||||
homepage = "https://github.com/AzureAD/microsoft-authentication-library-for-python";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [
|
||||
kamadorueda
|
||||
];
|
||||
};
|
||||
}
|
|
@ -0,0 +1,36 @@
|
|||
{ buildPythonPackage
|
||||
, fetchPypi
|
||||
, lib
|
||||
|
||||
# pythonPackages
|
||||
, pyjwt
|
||||
, requests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "msal";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0h33wayvakggr684spdyhiqvrwraavcbk3phmcbavb3zqxd3zgpc";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pyjwt
|
||||
requests
|
||||
];
|
||||
|
||||
# Tests assume Network Connectivity:
|
||||
# https://github.com/AzureAD/microsoft-authentication-library-for-python/blob/e2958961e8ec16d0af4199f60c36c3f913497e48/tests/test_authority.py#L73
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "The Microsoft Authentication Library (MSAL) for Python library enables your app to access the Microsoft Cloud by supporting authentication of users with Microsoft Azure Active Directory accounts (AAD) and Microsoft Accounts (MSA) using industry standard OAuth2 and OpenID Connect";
|
||||
homepage = "https://github.com/AzureAD/microsoft-authentication-library-for-python";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [
|
||||
kamadorueda
|
||||
];
|
||||
};
|
||||
}
|
|
@ -0,0 +1,36 @@
|
|||
{ buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, lib
|
||||
|
||||
# pythonPackages
|
||||
, pytest
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "names";
|
||||
version = "0.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "treyhunner";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0jfn11bl05k3qkqw0f4vi2i2lhllxdrbb1732qiisdy9fbvv8611";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
pytest
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
pytest
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Generate random names";
|
||||
homepage = "https://github.com/treyhunner/names";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [
|
||||
kamadorueda
|
||||
];
|
||||
};
|
||||
}
|
|
@ -0,0 +1,41 @@
|
|||
{ buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, lib
|
||||
|
||||
# pythonPackages
|
||||
, pytest
|
||||
, pyyaml
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "oyaml";
|
||||
version = "0.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "wimglenn";
|
||||
repo = "oyaml";
|
||||
rev = "v${version}";
|
||||
sha256 = "13xjdym0p0jh9bvyjsbhi4yznlp68bamy3xi4w5wpcrzlcq6cfh9";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pyyaml
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytest
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
pytest test_oyaml.py
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Ordered YAML: drop-in replacement for PyYAML which preserves dict ordering";
|
||||
homepage = "https://github.com/wimglenn/oyaml";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [
|
||||
kamadorueda
|
||||
];
|
||||
};
|
||||
}
|
|
@ -0,0 +1,37 @@
|
|||
{ buildPythonPackage
|
||||
, fetchPypi
|
||||
, lib
|
||||
|
||||
# pythonPackages
|
||||
, pyasn1-modules
|
||||
, pycryptodomex
|
||||
, twofish
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyjks";
|
||||
version = "19.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "06h1cybsdj2wi0jf7igbr722xfm87crqn4g7m3bgrpxwi41b9rcw";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pyasn1-modules
|
||||
pycryptodomex
|
||||
twofish
|
||||
];
|
||||
|
||||
# Tests assume network connectivity
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Pure-Python Java Keystore (JKS) library";
|
||||
homepage = "https://github.com/kurtbrose/pyjks";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [
|
||||
kamadorueda
|
||||
];
|
||||
};
|
||||
}
|
|
@ -0,0 +1,36 @@
|
|||
{ buildPythonPackage
|
||||
, fetchPypi
|
||||
, lib
|
||||
|
||||
# pythonPackages
|
||||
, pyasn1
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pysmb";
|
||||
version = "1.1.28";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
format = "setuptools";
|
||||
extension = "zip";
|
||||
sha256 = "0x44yq440c1j3xnl7qigz2fpfzhx68n9mbj7ps7rd0kj0plcmr2q";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pyasn1
|
||||
];
|
||||
|
||||
# Tests require Network Connectivity and a server up and running
|
||||
# https://github.com/miketeo/pysmb/blob/master/python3/tests/README_1st.txt
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Experimental SMB/CIFS library written in Python to support file sharing between Windows and Linux machines";
|
||||
homepage = "https://miketeo.net/wp/index.php/projects/pysmb";
|
||||
license = lib.licenses.zlib;
|
||||
maintainers = with lib.maintainers; [
|
||||
kamadorueda
|
||||
];
|
||||
};
|
||||
}
|
|
@ -0,0 +1,38 @@
|
|||
{ buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, isPy27
|
||||
, lib
|
||||
|
||||
# pythonPackages
|
||||
, pytest
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "requirements-detector";
|
||||
version = "0.6";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "yuvadm";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "15s0n1lhkz0zwi33waqkkjipal3f7s45rxsj1bw89xpr4dj87qx5";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
pytest
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
pytest
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Python tool to find and list requirements of a Python project";
|
||||
homepage = "https://github.com/landscapeio/requirements-detector";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [
|
||||
kamadorueda
|
||||
];
|
||||
};
|
||||
}
|
|
@ -0,0 +1,33 @@
|
|||
{ buildPythonPackage
|
||||
, fetchPypi
|
||||
, lib
|
||||
|
||||
# pythonPackages
|
||||
, javaobj-py3
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "twofish";
|
||||
version = "0.3.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1yihp2n42amrxw0wk9f66llpb3w5kwhgkcdg9krkzcik1nsqp7dh";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
javaobj-py3
|
||||
];
|
||||
|
||||
# No tests implemented
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Bindings for the Twofish implementation by Niels Ferguson";
|
||||
homepage = "https://github.com/keybase/python-twofish";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [
|
||||
kamadorueda
|
||||
];
|
||||
};
|
||||
}
|
|
@ -0,0 +1,36 @@
|
|||
{ buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, isPy3k
|
||||
, lib
|
||||
, pytest
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "viewstate";
|
||||
version = "0.4.3";
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "yuvadm";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "15s0n1lhkz0zwi33waqkkjipal3f7s45rxsj1bw89xpr4dj87qx5";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
pytest
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
pytest
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = ".NET viewstate decoder";
|
||||
homepage = "https://github.com/yuvadm/viewstate";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [
|
||||
kamadorueda
|
||||
];
|
||||
};
|
||||
}
|
|
@ -282,10 +282,14 @@ in {
|
|||
|
||||
azure-graphrbac = callPackage ../development/python-modules/azure-graphrbac { };
|
||||
|
||||
azure-identity = callPackage ../development/python-modules/azure-identity { };
|
||||
|
||||
azure-keyvault = callPackage ../development/python-modules/azure-keyvault { };
|
||||
|
||||
azure-keyvault-keys = callPackage ../development/python-modules/azure-keyvault-keys { };
|
||||
|
||||
azure-keyvault-nspkg = callPackage ../development/python-modules/azure-keyvault-nspkg { };
|
||||
|
||||
azure-keyvault-secrets = callPackage ../development/python-modules/azure-keyvault-secrets { };
|
||||
|
||||
azure-loganalytics = callPackage ../development/python-modules/azure-loganalytics { };
|
||||
|
@ -833,9 +837,14 @@ in {
|
|||
mpi = pkgs.openmpi;
|
||||
};
|
||||
|
||||
msrestazure = callPackage ../development/python-modules/msrestazure { };
|
||||
msal = callPackage ../development/python-modules/msal { };
|
||||
|
||||
msal-extensions = callPackage ../development/python-modules/msal-extensions { };
|
||||
|
||||
msrest = callPackage ../development/python-modules/msrest { };
|
||||
|
||||
msrestazure = callPackage ../development/python-modules/msrestazure { };
|
||||
|
||||
multiset = callPackage ../development/python-modules/multiset { };
|
||||
|
||||
mwclient = callPackage ../development/python-modules/mwclient { };
|
||||
|
@ -1157,6 +1166,8 @@ in {
|
|||
slurm = pkgs.slurm;
|
||||
};
|
||||
|
||||
pysmb = callPackage ../development/python-modules/pysmb { };
|
||||
|
||||
pysmf = callPackage ../development/python-modules/pysmf { };
|
||||
|
||||
pyspinel = callPackage ../development/python-modules/pyspinel {};
|
||||
|
@ -1671,6 +1682,8 @@ in {
|
|||
|
||||
babelfish = callPackage ../development/python-modules/babelfish {};
|
||||
|
||||
bandit = callPackage ../development/python-modules/bandit {};
|
||||
|
||||
basiciw = callPackage ../development/python-modules/basiciw {
|
||||
inherit (pkgs) gcc wirelesstools;
|
||||
};
|
||||
|
@ -2189,6 +2202,8 @@ in {
|
|||
|
||||
pyjet = callPackage ../development/python-modules/pyjet {};
|
||||
|
||||
pyjks = callPackage ../development/python-modules/pyjks {};
|
||||
|
||||
PyLD = callPackage ../development/python-modules/PyLD { };
|
||||
|
||||
python-jose = callPackage ../development/python-modules/python-jose {};
|
||||
|
@ -2847,6 +2862,8 @@ in {
|
|||
|
||||
oset = callPackage ../development/python-modules/oset { };
|
||||
|
||||
oyaml = callPackage ../development/python-modules/oyaml { };
|
||||
|
||||
pamela = callPackage ../development/python-modules/pamela { };
|
||||
|
||||
paperspace = callPackage ../development/python-modules/paperspace { };
|
||||
|
@ -4202,6 +4219,8 @@ in {
|
|||
|
||||
nameparser = callPackage ../development/python-modules/nameparser { };
|
||||
|
||||
names = callPackage ../development/python-modules/names { };
|
||||
|
||||
nbconvert = callPackage ../development/python-modules/nbconvert { };
|
||||
|
||||
nbformat = callPackage ../development/python-modules/nbformat { };
|
||||
|
@ -5112,6 +5131,8 @@ in {
|
|||
|
||||
requests-http-signature = callPackage ../development/python-modules/requests-http-signature { };
|
||||
|
||||
requirements-detector = callPackage ../development/python-modules/requirements-detector { };
|
||||
|
||||
resampy = callPackage ../development/python-modules/resampy { };
|
||||
|
||||
restructuredtext_lint = callPackage ../development/python-modules/restructuredtext_lint { };
|
||||
|
@ -6400,6 +6421,8 @@ in {
|
|||
|
||||
jaraco_stream = callPackage ../development/python-modules/jaraco_stream { };
|
||||
|
||||
javaobj-py3 = callPackage ../development/python-modules/javaobj-py3 { };
|
||||
|
||||
javaproperties = callPackage ../development/python-modules/javaproperties { };
|
||||
|
||||
tempora= callPackage ../development/python-modules/tempora { };
|
||||
|
@ -6471,12 +6494,16 @@ in {
|
|||
|
||||
twilio = callPackage ../development/python-modules/twilio { };
|
||||
|
||||
twofish = callPackage ../development/python-modules/twofish { };
|
||||
|
||||
uranium = callPackage ../development/python-modules/uranium { };
|
||||
|
||||
uuid = callPackage ../development/python-modules/uuid { };
|
||||
|
||||
versioneer = callPackage ../development/python-modules/versioneer { };
|
||||
|
||||
viewstate = callPackage ../development/python-modules/viewstate { };
|
||||
|
||||
vine = callPackage ../development/python-modules/vine { };
|
||||
|
||||
visitor = callPackage ../development/python-modules/visitor { };
|
||||
|
|
Loading…
Reference in New Issue