git.iko.soy/typeable/nixpkgs
on master help sign in
fluidasserts: 20.2.30165 -> deleted

- I no longer have time to maintain it and we've found another ways to ship it (with nix too, yay!) to our users - I'll remove it here, at least many new nice packages were added to the community due thanks to this efforts

commit17812e653d89c46d68b7b10e290b1c16758f4e47 authorKevin Amado <kamadorueda@gmail.com> dateMon 18 May 2020, 22:53 (7 years ago) parent5e82ba4
3 files changed−214
pkgs/development/python-modules/fluidasserts/default.nix−210 pkgs/top-level/all-packages.nix−2 pkgs/top-level/python-packages.nix−2
pkgs/development/python-modules/fluidasserts/default.nixdeleted−210
@@ -1,210 +0,0 @@
1−{ buildPythonPackage
2−, fetchPypi
3−, isPy37
4−, lib
5−
6−# pythonPackages
7−, aiohttp
8−, androguard
9−, azure-identity
10−, azure-keyvault
11−, azure-mgmt-compute
12−, azure-mgmt-keyvault
13−, azure-mgmt-network
14−, azure-mgmt-resource
15−, azure-mgmt-security
16−, azure-mgmt-storage
17−, azure-mgmt-sql
18−, azure-mgmt-web
19−, azure-storage
20−, bandit
21−, bcrypt
22−, beautifulsoup4
23−, boto3
24−, cfn-flip
25−, cython
26−, dnspython
27−, colorama
28−, configobj
29−, defusedxml
30−, GitPython
31−, google_api_python_client
32−, kubernetes
33−, ldap3
34−, mixpanel
35−, mysql-connector
36−, names
37−, ntplib
38−, oyaml
39−, paramiko
40−, pillow
41−, psycopg2
42−, pycrypto
43−, pygments
44−, pyhcl
45−, pyjks
46−, pynacl
47−, pyodbc
48−, pyopenssl
49−, pypdf2
50−, pysmb
51−, pytesseract
52−, python_magic
53−, pytz
54−, pywinrm
55−, requirements-detector
56−, selenium
57−, tlslite-ng
58−, viewstate
59−
60−# pythonPackages to test the derivation
61−, pytest
62−, flask
63−, flask-httpauth
64−, docker
65−}:
66−
67−buildPythonPackage rec {
68− pname = "fluidasserts";
69− version = "20.2.30165";
70− disabled = !isPy37;
71−
72− src = fetchPypi {
73− inherit pname version;
74− sha256 = "0wcplzfx89d3c6hvdgag860sl3infqmymy6ly6y6ah77pkc98x15";
75− };
76−
77− patchPhase = ''
78− # Release packages from their hard pinned versions
79− sed -i -E "s/(.*)==.*/\1/g" requirements.txt
80−
81− # Functionality that will be not present for the momment
82− # but that we'll work to add in the future
83− # Just a minimal portion of fluidasserts use this
84− substituteInPlace ./requirements.txt \
85− --replace "mitmproxy" "" \
86−
87− '';
88−
89− propagatedBuildInputs = [
90− # pythonPackages
91− aiohttp
92− androguard
93− azure-identity
94− azure-keyvault
95− azure-mgmt-compute
96− azure-mgmt-keyvault
97− azure-mgmt-network
98− azure-mgmt-resource
99− azure-mgmt-security
100− azure-mgmt-storage
101− azure-mgmt-sql
102− azure-mgmt-web
103− azure-storage
104− bandit
105− bcrypt
106− beautifulsoup4
107− boto3
108− cfn-flip
109− cython
110− dnspython
111− colorama
112− configobj
113− defusedxml
114− GitPython
115− google_api_python_client
116− kubernetes
117− ldap3
118− mixpanel
119− mysql-connector
120− names
121− ntplib
122− oyaml
123− paramiko
124− pillow
125− psycopg2
126− pycrypto
127− pygments
128− pyhcl
129− pyjks
130− pynacl
131− pyodbc
132− pyopenssl
133− pypdf2
134− pysmb
135− pytesseract
136− python_magic
137− pytz
138− pywinrm
139− requirements-detector
140− selenium
141− tlslite-ng
142− viewstate
143− ];
144−
145− configurePhase = ''
146− mkdir -p build/config
147− touch build/config/README.rst
148− '';
149−
150− checkInputs = [
151− docker
152− flask
153− flask-httpauth
154− pytest
155− ];
156−
157− checkPhase = ''
158− # This tests require BWAPP Docker Container
159− sed -ie 's/test_a[0-9]//g' ./test/test_proto_http_open.py
160− sed -ie 's/test_a[0-9]//g' ./test/test_proto_http_close.py
161−
162− # This tests require network connectivity
163− sed -ie 's/test_is_date_unsyncd//g' ./test/test_proto_http_open.py
164− sed -ie 's/test_is_date_unsyncd//g' ./test/test_proto_http_close.py
165−
166− # Remove impurities
167− substituteInPlace ./test/conftest.py \
168− --replace "import wait" "" \
169− --replace "if not os.path.exists(name):" "if os.path.exists(name):" \
170− --replace "from test.mock import graphql_server" "" \
171− --replace "(graphql_server.start, 'MockGraphQLServer', ['proto_graphql'])," "" \
172−
173− pytest --asserts-module 'iot' \
174− test/test_iot_phone.py
175−
176− pytest --asserts-module 'ot' \
177− test/test_ot_powerlogic.py
178−
179− pytest --asserts-module 'proto_http' \
180− test/test_proto_{http_close,http_open}.py
181−
182− pytest --asserts-module 'proto_rest' \
183− test/test_proto_rest.py
184−
185− # This file launches mock docker containers and servers
186− # let's remove it to create a custom test environment
187− rm test/conftest.py
188−
189− pytest \
190− test/test_cloud_aws_terraform_{cloudfront,dynamodb,ebs,ec2,elb}.py \
191− test/test_cloud_aws_terraform_{fsx,iam,kms,rds,s3}.py \
192− test/test_cloud_aws_cloudformation_{cloudfront,dynamodb,ec2,elb,elb2}.py \
193− test/test_cloud_aws_cloudformation_{fsx,iam,kms,rds,s3,secretsmanager}.py \
194− test/test_format_{apk,jks,jwt,pdf,pkcs12,string}.py \
195− test/test_helper_{asynchronous,crypto}.py \
196− test/test_lang_{javascript,java}.py \
197− test/test_lang_{core,csharp,docker,dotnetconfig,html,php,python,rpgle}.py \
198− test/test_utils_generic.py
199− '';
200−
201− meta = with lib; {
202− description = "Assertion Library for Security Assumptions";
203− homepage = "https://gitlab.com/fluidattacks/asserts";
204− license = licenses.mpl20;
205− maintainers = with maintainers; [
206− kamadorueda
207− ];
208− broken = true; # dependency tree is too fragile for nixpkgs
209− };
210−}
pkgs/top-level/all-packages.nix−2
@@ -3391,8 +3391,6 @@ in
33913391 stdenv = gccStdenv;
33923392 };
33933393
3394− fluidasserts = with python37Packages; toPythonApplication fluidasserts;
3395−
33963394 flux = callPackage ../development/compilers/flux { };
33973395
33983396 fido2luks = callPackage ../tools/security/fido2luks {};
pkgs/top-level/python-packages.nix−2
@@ -738,8 +738,6 @@ in {
738738
739739 flufl_lock = callPackage ../development/python-modules/flufl/lock.nix { };
740740
741− fluidasserts = callPackage ../development/python-modules/fluidasserts { };
742−
743741 foxdot = callPackage ../development/python-modules/foxdot { };
744742
745743 fsspec = callPackage ../development/python-modules/fsspec { };