pythonPackages.livestreamer-curses: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-17 14:36:06 -04:00 committed by Frederik Rietdijk
parent a599dc1279
commit a543d4236e
2 changed files with 27 additions and 18 deletions

View file

@ -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;
};
}

View file

@ -2974,24 +2974,7 @@ in {
livestreamer = callPackage ../development/python-modules/livestreamer { };
livestreamer-curses = buildPythonPackage rec {
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;
};
};
livestreamer-curses = callPackage ../development/python-modules/livestreamer-curses { };
oauth = buildPythonPackage (rec {
name = "oauth-1.0.1";