Skip to content

Commit

Permalink
pythonPackages.pafy: 0.5.2 -> 0.5.3.1 (#29588)
Browse files Browse the repository at this point in the history
* pythonPackages.pafy: 0.5.2 -> 0.5.3.1

* pythonPackages.pafy: move to its own file

* pythonPackages.pafy: fetchurl -> fetchPypi

(cherry picked from commit e76c2c1)
  • Loading branch information
Théophane Hufschmitt authored and Mic92 committed Sep 21, 2017
1 parent 811f153 commit 6052d2b
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 21 deletions.
24 changes: 24 additions & 0 deletions pkgs/development/python-modules/pafy/default.nix
@@ -0,0 +1,24 @@
{ lib, buildPythonPackage, youtube-dl, fetchPypi }:
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "pafy";
version = "0.5.3.1";

src = fetchPypi {
inherit pname version;
sha256 = "1a7dxi95m1043rxx1r5x3ngb66nwlq6aqcasyqqjzmmmjps4zrim";
};

# No tests included in archive
doCheck = false;

propagatedBuildInputs = [ youtube-dl ];

meta = with lib; {
description = "A library to download YouTube content and retrieve metadata";
homepage = http://np1.github.io/pafy/;
license = licenses.lgpl3Plus;
maintainers = with maintainers; [ odi ];
};
}

22 changes: 1 addition & 21 deletions pkgs/top-level/python-packages.nix
Expand Up @@ -25564,27 +25564,7 @@ EOF
};
};

pafy = buildPythonPackage rec {
name = "pafy-${version}";
version = "0.5.2";

src = pkgs.fetchurl {
url = "mirror://pypi/p/pafy/${name}.tar.gz";
sha256 = "1ckvrypyvb7jbqlgwdz0y337ajagjv7dgxyns326nqwypn1wpq0i";
};

# No tests included in archive
doCheck = false;

propagatedBuildInputs = with self; [ youtube-dl ];

meta = with stdenv.lib; {
description = "A library to download YouTube content and retrieve metadata";
homepage = http://np1.github.io/pafy/;
license = licenses.lgpl3Plus;
maintainers = with maintainers; [ odi ];
};
};
pafy = callPackage ../development/python-modules/pafy { };

suds = buildPythonPackage rec {
name = "suds-0.4";
Expand Down

0 comments on commit 6052d2b

Please sign in to comment.