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