pythonPackages.livestreamer-curses: refactor move to python-modules
This commit is contained in:
parent
a599dc1279
commit
a543d4236e
@ -0,0 +1,26 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchurl
|
||||||
|
, isPyPy
|
||||||
|
, livestreamer
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
version = "1.5.2";
|
||||||
|
pname = "livestreamer-curses";
|
||||||
|
disabled = isPyPy;
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://github.com/gapato/livestreamer-curses/archive/v${version}.tar.gz";
|
||||||
|
sha256 = "1v49sym6mrci9dxy0a7cpbp4bv6fg2ijj6rwk4wzg18c2x4qzkhn";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ livestreamer ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://github.com/gapato/livestreamer-curses;
|
||||||
|
description = "Curses frontend for livestreamer";
|
||||||
|
license = licenses.mit;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -2974,24 +2974,7 @@ in {
|
|||||||
|
|
||||||
livestreamer = callPackage ../development/python-modules/livestreamer { };
|
livestreamer = callPackage ../development/python-modules/livestreamer { };
|
||||||
|
|
||||||
livestreamer-curses = buildPythonPackage rec {
|
livestreamer-curses = callPackage ../development/python-modules/livestreamer-curses { };
|
||||||
version = "1.5.2";
|
|
||||||
name = "livestreamer-curses-${version}";
|
|
||||||
disabled = isPyPy;
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "https://github.com/gapato/livestreamer-curses/archive/v${version}.tar.gz";
|
|
||||||
sha256 = "1v49sym6mrci9dxy0a7cpbp4bv6fg2ijj6rwk4wzg18c2x4qzkhn";
|
|
||||||
};
|
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [ livestreamer ];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
homepage = https://github.com/gapato/livestreamer-curses;
|
|
||||||
description = "Curses frontend for livestreamer";
|
|
||||||
license = licenses.mit;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
oauth = buildPythonPackage (rec {
|
oauth = buildPythonPackage (rec {
|
||||||
name = "oauth-1.0.1";
|
name = "oauth-1.0.1";
|
||||||
|
Loading…
Reference in New Issue
Block a user