From f3756d59d851b60ccab2a2743b4de8118835e12d Mon Sep 17 00:00:00 2001 From: makefu Date: Fri, 13 Mar 2020 10:40:11 +0100 Subject: ma pkgs: add cc-tool,liveproxy --- 5pkgs/custom/liveproxy/default.nix | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 5pkgs/custom/liveproxy/default.nix (limited to '5pkgs/custom/liveproxy/default.nix') diff --git a/5pkgs/custom/liveproxy/default.nix b/5pkgs/custom/liveproxy/default.nix new file mode 100644 index 000000000..195879c89 --- /dev/null +++ b/5pkgs/custom/liveproxy/default.nix @@ -0,0 +1,30 @@ +{ lib +, buildPythonPackage +, fetchPypi +, streamlink +}: + +buildPythonPackage rec { + pname = "liveproxy"; + version = "0.3.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "70ba2f7b57cdf19c6d971a434ed47cccb5fdfe4621baa76a3f6221e75b7f2729"; + }; + + # # Package conditions to handle + # # might have to sed setup.py and egg.info in patchPhase + # # sed -i "s/...//" + # streamlink (>=1.1.1) + propagatedBuildInputs = [ + streamlink + ]; + + meta = with lib; { + description = "LiveProxy is a local Proxyserver between Streamlink and an URL"; + homepage = https://github.com/back-to/liveproxy; + license = licenses.BSD 2-Clause "Simplified" License; + # maintainers = [ maintainers. ]; + }; +} -- cgit v1.2.3