commit
d72c6a72d0
@ -1,22 +0,0 @@ |
|||||||
{ lib }: |
|
||||||
|
|
||||||
rec { |
|
||||||
|
|
||||||
/* imports a flake.nix without acknowledging its lock file, useful for |
|
||||||
referencing subflakes from a parent flake. The second argument allows |
|
||||||
specifying the inputs of this flake. |
|
||||||
|
|
||||||
Example: |
|
||||||
callLocklessFlake { |
|
||||||
path = ./directoryContainingFlake; |
|
||||||
inputs = { inherit nixpkgs; }; |
|
||||||
} |
|
||||||
*/ |
|
||||||
callLocklessFlake = { path, inputs ? { } }: |
|
||||||
let |
|
||||||
self = { outPath = path; } // |
|
||||||
((import (path + "/flake.nix")).outputs (inputs // { self = self; })); |
|
||||||
in |
|
||||||
self; |
|
||||||
|
|
||||||
} |
|
@ -1,8 +0,0 @@ |
|||||||
{ |
|
||||||
outputs = { self, subflake, callLocklessFlake }: rec { |
|
||||||
x = (callLocklessFlake { |
|
||||||
path = subflake; |
|
||||||
inputs = {}; |
|
||||||
}).subflakeOutput; |
|
||||||
}; |
|
||||||
} |
|
@ -1,5 +0,0 @@ |
|||||||
{ |
|
||||||
outputs = { self }: { |
|
||||||
subflakeOutput = 1; |
|
||||||
}; |
|
||||||
} |
|
@ -1,11 +0,0 @@ |
|||||||
diff -ur RetroFE.1/RetroFE/Source/CMakeLists.txt RetroFE.2/RetroFE/Source/CMakeLists.txt
|
|
||||||
--- RetroFE.1/RetroFE/Source/CMakeLists.txt 2016-02-21 14:52:36.726070602 +0100
|
|
||||||
+++ RetroFE.2/RetroFE/Source/CMakeLists.txt 2016-02-21 14:38:43.036249029 +0100
|
|
||||||
@@ -59,6 +59,7 @@
|
|
||||||
set(RETROFE_INCLUDE_DIRS
|
|
||||||
"${GLIB2_INCLUDE_DIRS}"
|
|
||||||
"${GSTREAMER_INCLUDE_DIRS}"
|
|
||||||
+ "${GSTREAMER_BASE_INCLUDE_DIRS}"
|
|
||||||
"${SDL2_INCLUDE_DIRS}"
|
|
||||||
"${SDL2_IMAGE_INCLUDE_DIRS}"
|
|
||||||
"${SDL2_MIXER_INCLUDE_DIRS}"
|
|
File diff suppressed because one or more lines are too long
@ -0,0 +1,53 @@ |
|||||||
|
{ lib |
||||||
|
, buildPythonPackage |
||||||
|
, fetchPypi |
||||||
|
, flit |
||||||
|
, jinja2 |
||||||
|
, ruamel-yaml |
||||||
|
, matplotlib |
||||||
|
, pandas |
||||||
|
, pandoc |
||||||
|
, pygments |
||||||
|
, blessings |
||||||
|
, curio |
||||||
|
, hypothesis |
||||||
|
, pytestCheckHook |
||||||
|
}: |
||||||
|
|
||||||
|
buildPythonPackage rec { |
||||||
|
pname = "reportengine"; |
||||||
|
version = "0.30.dev0"; |
||||||
|
format = "pyproject"; |
||||||
|
|
||||||
|
src = fetchPypi { |
||||||
|
inherit pname version; |
||||||
|
sha256 = "eb612994b7f364e872301b4569b544648e95e587d803284ddb5610efc8f2170f"; |
||||||
|
}; |
||||||
|
|
||||||
|
nativeBuildInputs = [ flit ]; |
||||||
|
|
||||||
|
propagatedBuildInputs = [ |
||||||
|
jinja2 |
||||||
|
ruamel-yaml |
||||||
|
matplotlib |
||||||
|
pandas |
||||||
|
pygments |
||||||
|
blessings |
||||||
|
curio |
||||||
|
]; |
||||||
|
|
||||||
|
checkInputs = [ |
||||||
|
hypothesis |
||||||
|
pandoc |
||||||
|
pytestCheckHook |
||||||
|
]; |
||||||
|
|
||||||
|
pythonImportsCheck = [ "reportengine" ]; |
||||||
|
|
||||||
|
meta = with lib; { |
||||||
|
description = "A framework for declarative data analysis"; |
||||||
|
homepage = "https://github.com/NNPDF/reportengine/"; |
||||||
|
license = with licenses; [ gpl2Only ]; |
||||||
|
maintainers = with maintainers; [ veprbl ]; |
||||||
|
}; |
||||||
|
} |
@ -0,0 +1,42 @@ |
|||||||
|
{ lib |
||||||
|
, buildPythonPackage |
||||||
|
, fetchPypi |
||||||
|
, requests |
||||||
|
, pytestCheckHook |
||||||
|
, responses |
||||||
|
}: |
||||||
|
|
||||||
|
buildPythonPackage rec { |
||||||
|
pname = "tesla-powerwall"; |
||||||
|
version = "0.3.17"; |
||||||
|
|
||||||
|
format = "setuptools"; |
||||||
|
|
||||||
|
src = fetchPypi { |
||||||
|
pname = "tesla_powerwall"; |
||||||
|
inherit version; |
||||||
|
sha256 = "09351e408e8e3cc03414944c1a487ef2178300829559e80835026acb84330cfd"; |
||||||
|
}; |
||||||
|
|
||||||
|
propagatedBuildInputs = [ |
||||||
|
requests |
||||||
|
]; |
||||||
|
|
||||||
|
checkInputs = [ |
||||||
|
pytestCheckHook |
||||||
|
responses |
||||||
|
]; |
||||||
|
|
||||||
|
pytestFlagsArray = [ |
||||||
|
"tests/unit" |
||||||
|
]; |
||||||
|
|
||||||
|
pythonImportsCheck = [ "tesla_powerwall" ]; |
||||||
|
|
||||||
|
meta = { |
||||||
|
description = "API for Tesla Powerwall"; |
||||||
|
homepage = "https://github.com/jrester/tesla_powerwall"; |
||||||
|
license = lib.licenses.mit; |
||||||
|
maintainers = with lib.maintainers; [ dotlambda ]; |
||||||
|
}; |
||||||
|
} |
@ -0,0 +1,42 @@ |
|||||||
|
{ lib |
||||||
|
, buildPythonPackage |
||||||
|
, pythonOlder |
||||||
|
, fetchFromGitHub |
||||||
|
, construct |
||||||
|
, websockets |
||||||
|
, asynctest |
||||||
|
, pytestCheckHook |
||||||
|
}: |
||||||
|
|
||||||
|
buildPythonPackage rec { |
||||||
|
pname = "vallox-websocket-api"; |
||||||
|
version = "2.11.0"; |
||||||
|
|
||||||
|
disabled = pythonOlder "3.6"; |
||||||
|
|
||||||
|
format = "setuptools"; |
||||||
|
|
||||||
|
src = fetchFromGitHub { |
||||||
|
owner = "yozik04"; |
||||||
|
repo = "vallox_websocket_api"; |
||||||
|
rev = version; |
||||||
|
hash = "sha256-wZiPrPl9ESp43PFdRPvqB2nOg+ogfaArunZOR3Q9cvs="; |
||||||
|
}; |
||||||
|
|
||||||
|
propagatedBuildInputs = [ |
||||||
|
construct |
||||||
|
websockets |
||||||
|
]; |
||||||
|
|
||||||
|
checkInputs = [ |
||||||
|
asynctest |
||||||
|
pytestCheckHook |
||||||
|
]; |
||||||
|
|
||||||
|
meta = { |
||||||
|
description = "Async API for Vallox ventilation units"; |
||||||
|
homepage = "https://github.com/yozik04/vallox_websocket_api"; |
||||||
|
license = lib.licenses.lgpl3Only; |
||||||
|
maintainers = with lib.maintainers; [ dotlambda ]; |
||||||
|
}; |
||||||
|
} |
@ -1,62 +0,0 @@ |
|||||||
{ lib, stdenv, buildPythonPackage, fetchPypi |
|
||||||
, itsdangerous, hypothesis |
|
||||||
, pytestCheckHook, requests |
|
||||||
, pytest-timeout |
|
||||||
, isPy3k |
|
||||||
}: |
|
||||||
|
|
||||||
buildPythonPackage rec { |
|
||||||
pname = "Werkzeug"; |
|
||||||
version = "1.0.1"; |
|
||||||
|
|
||||||
src = fetchPypi { |
|
||||||
inherit pname version; |
|
||||||
sha256 = "6c80b1e5ad3665290ea39320b91e1be1e0d5f60652b964a3070216de83d2e47c"; |
|
||||||
}; |
|
||||||
|
|
||||||
propagatedBuildInputs = [ itsdangerous ]; |
|
||||||
checkInputs = [ pytestCheckHook requests hypothesis pytest-timeout ]; |
|
||||||
|
|
||||||
postPatch = '' |
|
||||||
# ResourceWarning causes tests to fail |
|
||||||
rm tests/test_routing.py |
|
||||||
''; |
|
||||||
|
|
||||||
disabledTests = [ |
|
||||||
"test_save_to_pathlib_dst" |
|
||||||
"test_cookie_maxsize" |
|
||||||
"test_cookie_samesite_attribute" |
|
||||||
"test_cookie_samesite_invalid" |
|
||||||
"test_range_parsing" |
|
||||||
"test_content_range_parsing" |
|
||||||
"test_http_date_lt_1000" |
|
||||||
"test_best_match_works" |
|
||||||
"test_date_to_unix" |
|
||||||
"test_easteregg" |
|
||||||
|
|
||||||
# Seems to be a problematic test-case: |
|
||||||
# |
|
||||||
# > warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) |
|
||||||
# E pytest.PytestUnraisableExceptionWarning: Exception ignored in: <_io.FileIO [closed]> |
|
||||||
# E |
|
||||||
# E Traceback (most recent call last): |
|
||||||
# E File "/nix/store/cwv8aj4vsqvimzljw5dxsxy663vjgibj-python3.9-Werkzeug-1.0.1/lib/python3.9/site-packages/werkzeug/formparser.py", line 318, in parse_multipart_headers |
|
||||||
# E return Headers(result) |
|
||||||
# E ResourceWarning: unclosed file <_io.FileIO name=11 mode='rb+' closefd=True> |
|
||||||
"test_basic_routing" |
|
||||||
"test_merge_slashes_match" |
|
||||||
"test_merge_slashes_build" |
|
||||||
"TestMultiPart" |
|
||||||
"TestHTTPUtility" |
|
||||||
] ++ lib.optionals stdenv.isDarwin [ |
|
||||||
"test_get_machine_id" |
|
||||||
]; |
|
||||||
|
|
||||||
meta = with lib; { |
|
||||||
homepage = "https://palletsprojects.com/p/werkzeug/"; |
|
||||||
description = "A WSGI utility library for Python"; |
|
||||||
license = licenses.bsd3; |
|
||||||
maintainers = [ ]; |
|
||||||
}; |
|
||||||
} |
|
||||||
|
|
Loading…
Reference in new issue