diff options
| author | spl3g <spleefer6@yandex.ru> | 2024-07-02 01:17:57 +0300 |
|---|---|---|
| committer | spl3g <spleefer6@yandex.ru> | 2025-05-01 14:58:56 +0300 |
| commit | 0f450637eeabd1157ec3cbb5b328bd912b890a41 (patch) | |
| tree | fd9c39af95e7a93ff1baff517211670ada89c49f /pkgs/hydralauncher/client.nix | |
| parent | 1d21a2e81d3525e55aac36482108cd0aac01623b (diff) | |
package hydralauncher (does not work)
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 + ''; +} |
