From a72d8c58747de4b554b6f9643ba7e6db9249cf8a 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 --- makefu/5pkgs/custom/liveproxy/default.nix | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 makefu/5pkgs/custom/liveproxy/default.nix (limited to 'makefu/5pkgs/custom/liveproxy/default.nix') diff --git a/makefu/5pkgs/custom/liveproxy/default.nix b/makefu/5pkgs/custom/liveproxy/default.nix new file mode 100644 index 00000000..195879c8 --- /dev/null +++ b/makefu/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 From f54afe0cc6357ede5f9a3ae0cd1acc58d0b66aaf Mon Sep 17 00:00:00 2001 From: makefu Date: Thu, 19 Mar 2020 15:18:20 +0100 Subject: ma pkgs.liveproxy: fix licensing --- makefu/5pkgs/custom/liveproxy/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'makefu/5pkgs/custom/liveproxy/default.nix') diff --git a/makefu/5pkgs/custom/liveproxy/default.nix b/makefu/5pkgs/custom/liveproxy/default.nix index 195879c8..ba5ddee6 100644 --- a/makefu/5pkgs/custom/liveproxy/default.nix +++ b/makefu/5pkgs/custom/liveproxy/default.nix @@ -24,7 +24,7 @@ buildPythonPackage rec { 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; + license = lib.licenses.bsd2; # maintainers = [ maintainers. ]; }; } -- cgit v1.2.3