Merge pull request #174644 from marsam/update-pyradio

pyradio: install manpage

authored by Sandro and committed by GitHub 33aef618 43bf6050

+13 -7
+13 -7
pkgs/applications/audio/pyradio/default.nix
··· 1 - { lib, python3Packages, fetchFromGitHub }: 1 + { lib, python3Packages, fetchFromGitHub, installShellFiles }: 2 2 3 3 python3Packages.buildPythonApplication rec { 4 4 pname = "pyradio"; 5 5 version = "0.8.9.20"; 6 6 7 - propagatedBuildInputs = with python3Packages; [ 8 - requests 9 - psutil 10 - dnspython 11 - ]; 12 - 13 7 src = fetchFromGitHub { 14 8 owner = "coderholic"; 15 9 repo = pname; ··· 17 11 sha256 = "sha256-wSu6vTvBkH7vC2c+jj6zaRaR1Poarsgxa5i2mN0dnoE="; 18 12 }; 19 13 14 + nativeBuildInputs = [ installShellFiles ]; 15 + 16 + propagatedBuildInputs = with python3Packages; [ 17 + requests 18 + psutil 19 + dnspython 20 + ]; 21 + 20 22 checkPhase = '' 21 23 $out/bin/pyradio --help 24 + ''; 25 + 26 + postInstall = '' 27 + installManPage *.1 22 28 ''; 23 29 24 30 meta = with lib; {