nixpkgs/pkgs/applications/audio/mpg123/default.nix
R. RyanTM 9c09c6133e mpg123: 1.25.11 -> 1.25.12
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/mpg123/versions
2019-09-27 12:06:27 -07:00

27 lines
695 B
Nix

{ stdenv
, fetchurl, alsaLib
}:
stdenv.mkDerivation rec {
name = "mpg123-1.25.12";
src = fetchurl {
url = "mirror://sourceforge/mpg123/${name}.tar.bz2";
sha256 = "1l9iwwgqzw6yg5zk9pqmlbfyq6d8dqysbmj0j3m8dyrxd34wgzhz";
};
buildInputs = stdenv.lib.optional (!stdenv.isDarwin) alsaLib;
configureFlags = stdenv.lib.optional
(stdenv.hostPlatform ? mpg123)
"--with-cpu=${stdenv.hostPlatform.mpg123.cpu}";
meta = {
description = "Fast console MPEG Audio Player and decoder library";
homepage = http://mpg123.org;
license = stdenv.lib.licenses.lgpl21;
maintainers = [ stdenv.lib.maintainers.ftrvxmtrx ];
platforms = stdenv.lib.platforms.unix;
};
}