diff options
Diffstat (limited to 'pkgs/hydralauncher/client.nix')
| -rw-r--r-- | pkgs/hydralauncher/client.nix | 31 |
1 files changed, 31 insertions, 0 deletions
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 + ''; +} |
