1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 11:40:45 +00:00

Merge pull request #174644 from marsam/update-pyradio

pyradio: install manpage
This commit is contained in:
Sandro 2022-05-27 19:51:03 +02:00 committed by GitHub
commit 33aef6181d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,15 +1,9 @@
{ lib, python3Packages, fetchFromGitHub }:
{ lib, python3Packages, fetchFromGitHub, installShellFiles }:
python3Packages.buildPythonApplication rec {
pname = "pyradio";
version = "0.8.9.20";
propagatedBuildInputs = with python3Packages; [
requests
psutil
dnspython
];
src = fetchFromGitHub {
owner = "coderholic";
repo = pname;
@ -17,10 +11,22 @@ python3Packages.buildPythonApplication rec {
sha256 = "sha256-wSu6vTvBkH7vC2c+jj6zaRaR1Poarsgxa5i2mN0dnoE=";
};
nativeBuildInputs = [ installShellFiles ];
propagatedBuildInputs = with python3Packages; [
requests
psutil
dnspython
];
checkPhase = ''
$out/bin/pyradio --help
'';
postInstall = ''
installManPage *.1
'';
meta = with lib; {
homepage = "http://www.coderholic.com/pyradio/";
description = "Curses based internet radio player";