From 0f450637eeabd1157ec3cbb5b328bd912b890a41 Mon Sep 17 00:00:00 2001 From: spl3g Date: Tue, 2 Jul 2024 01:17:57 +0300 Subject: package hydralauncher (does not work) --- pkgs/hydralauncher/client.nix | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 pkgs/hydralauncher/client.nix (limited to 'pkgs/hydralauncher/client.nix') diff --git a/pkgs/hydralauncher/client.nix b/pkgs/hydralauncher/client.nix new file mode 100644 index 0000000..35e114d --- /dev/null +++ b/pkgs/hydralauncher/client.nix @@ -0,0 +1,31 @@ +{ fetchFromGitHub +, python39 +, ensureNewerSourcesHook +}: + +python39.pkgs.buildPythonApplication rec { + name = "hydralauncher-bittorrent-client"; + version = "2.0.2"; + + src = fetchFromGitHub { + repo = "hydra"; + owner = "hydralauncher"; + rev = "v${version}"; + sha256 = "1g1a03cay4vw32jl6jm94gfaf099q3ln1kcjy52g6z4r4qmjkgch"; + }; + + format = "other"; + + buildInputs = [ + (ensureNewerSourcesHook { year = "1980"; }) + ]; + + propagatedBuildInputs = with python39.pkgs; [ + cx-freeze + libtorrent-rasterbar + ]; + + buildPhase = '' + python torrent-client/setup.py build + ''; +} -- cgit v1.2.3