nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 34 lines 666 B view raw
1{ 2 lib, 3 fetchFromGitHub, 4 pythonPackages, 5}: 6 7with pythonPackages; 8buildPythonApplication rec { 9 pname = "greg"; 10 version = "0.4.8"; 11 format = "setuptools"; 12 13 disabled = !isPy3k; 14 15 src = fetchFromGitHub { 16 owner = "manolomartinez"; 17 repo = pname; 18 tag = "v${version}"; 19 sha256 = "sha256-o4+tXVJTgT52JyJOC+Glr2cvZjbTaZL8TIsmz+A4vE4="; 20 }; 21 22 propagatedBuildInputs = [ 23 setuptools 24 feedparser 25 ]; 26 27 meta = with lib; { 28 homepage = "https://github.com/manolomartinez/greg"; 29 description = "Command-line podcast aggregator"; 30 mainProgram = "greg"; 31 license = licenses.gpl3; 32 maintainers = with maintainers; [ edwtjo ]; 33 }; 34}