nixpkgs/pkgs/development/python-modules/livestreamer-curses/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

29 lines
613 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, isPyPy
, livestreamer
}:
buildPythonPackage rec {
pname = "livestreamer-curses";
version = "1.5.2";
disabled = isPyPy;
src = fetchFromGitHub {
owner = "gapato";
repo = "livestreamer-curses";
rev = "v${version}";
hash = "sha256-Pi0PIOUhMMAWft9ackB04IgF6DyPrXppNqyVjozIjN4=";
};
propagatedBuildInputs = [ livestreamer ];
meta = with lib; {
homepage = "https://github.com/gapato/livestreamer-curses";
description = "Curses frontend for livestreamer";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}