From 1a64deeb894dc95e2645a75771732c6cc53a79ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Wed, 4 Oct 2023 01:35:06 +0200 Subject: Squash changes containing private information There were a lot of changes since the previous commit, but a lot of them contained personnal information about users. All thos changes got stashed into a single commit (history is kept in a different place) and private information was moved in a separate private repository --- flakes/mypackages/pkgs/riotkit-do/default.nix | 60 +++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 flakes/mypackages/pkgs/riotkit-do/default.nix (limited to 'flakes/mypackages/pkgs/riotkit-do/default.nix') diff --git a/flakes/mypackages/pkgs/riotkit-do/default.nix b/flakes/mypackages/pkgs/riotkit-do/default.nix new file mode 100644 index 0000000..3ddb1ab --- /dev/null +++ b/flakes/mypackages/pkgs/riotkit-do/default.nix @@ -0,0 +1,60 @@ +{ python3Packages }: +let + tabulate = python3Packages.buildPythonPackage rec { + version = "0.8.7"; + pname = "tabulate"; + + src = python3Packages.fetchPypi { + inherit pname version; + sha256 = "sha256-2ycjog0EvNqFIhZcc+6nwwDtp04M6FLZAi4BWdeJUAc="; + }; + + checkInputs = with python3Packages; [ nose ]; + + doCheck = false; + }; + + python-dotenv = python3Packages.buildPythonPackage rec { + pname = "python-dotenv"; + version = "0.13.0"; + + src = python3Packages.fetchPypi { + inherit pname version; + sha256 = "sha256-O5kJvJaw7cawFYbh7tBecRdO9OBMcdpXhjcM6+pTrXQ="; + }; + + propagatedBuildInputs = with python3Packages; [ click ]; + + checkInputs = with python3Packages; [ + ipython + mock + pytestCheckHook + sh + ]; + + disabledTests = [ + "cli" + ]; + + pythonImportsCheck = [ "dotenv" ]; + }; +in +python3Packages.buildPythonApplication rec { + pname = "rkd"; + version = "2.4.0"; + src = python3Packages.fetchPypi { + inherit pname version; + sha256 = "sha256-WC0FmUYGkV9PFvRtiFW6w6RtP+9Zf6kizl8jGiRb4HQ="; + }; + + propagatedBuildInputs = with python3Packages; [ + pbr + jinja2 + pyyaml + tabulate + psutil + pytest + python-dotenv + jsonschema + ]; +} -- cgit v1.2.3