From ceedd0b04abe1c1d790f800fbb7e06551099a7a1 Mon Sep 17 00:00:00 2001 From: rnhmjoj Date: Fri, 2 Jun 2017 00:36:59 +0200 Subject: [PATCH] pirate-get: 0.2.9 -> 0.2.10 --- pkgs/tools/networking/pirate-get/default.nix | 26 ++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ pkgs/top-level/python-packages.nix | 23 ----------------- 3 files changed, 28 insertions(+), 23 deletions(-) create mode 100644 pkgs/tools/networking/pirate-get/default.nix diff --git a/pkgs/tools/networking/pirate-get/default.nix b/pkgs/tools/networking/pirate-get/default.nix new file mode 100644 index 000000000000..bd7e87e2c10a --- /dev/null +++ b/pkgs/tools/networking/pirate-get/default.nix @@ -0,0 +1,26 @@ +{ stdenv, python3Packages }: + +with python3Packages; + +buildPythonApplication rec { + name = "${pname}-${version}"; + pname = "pirate-get"; + version = "0.2.10"; + + doCheck = false; + + src = fetchPypi { + inherit pname version; + sha256 = "04gsilbyq2plldzi495dcf19h5xfldfyn6zdczj2fdki1m29jyr0"; + }; + + propagatedBuildInputs = [ colorama veryprettytable beautifulsoup4 ]; + + meta = with stdenv.lib; { + description = "A command line interface for The Pirate Bay"; + homepage = https://github.com/vikstrous/pirate-get; + license = licenses.gpl1; + maintainers = with maintainers; [ rnhmjoj ]; + platforms = platforms.unix; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index aecb500995f1..5ac94943f048 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3630,6 +3630,8 @@ with pkgs; pingtcp = callPackage ../tools/networking/pingtcp { }; + pirate-get = callPackage ../tools/networking/pirate-get { }; + pius = callPackage ../tools/security/pius { }; pixiewps = callPackage ../tools/networking/pixiewps {}; diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index c146ea70b2c6..589b1a855927 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -8508,29 +8508,6 @@ in { }; }; - pirate-get = buildPythonPackage rec { - name = "pirate-get-${version}"; - version = "0.2.9"; - - disabled = !isPy3k; - doCheck = false; - - src = pkgs.fetchurl { - url = "mirror://pypi/p/pirate-get/${name}.tar.gz"; - sha256 = "1djmfghnwsn3z525h6d98r0lllayvzsg71z0gskk25zr24kjs24a"; - }; - - propagatedBuildInputs = with self; [ colorama veryprettytable beautifulsoup4 ]; - - meta = { - description = "A command line interface for The Pirate Bay"; - homepage = https://github.com/vikstrous/pirate-get; - license = licenses.gpl1; - maintainers = with maintainers; [ rnhmjoj ]; - platforms = platforms.unix; - }; - }; - plotly = callPackage ../development/python-modules/plotly { }; podcastparser = callPackage ../development/python-modules/podcastparser { };