default.nix (819B)
1 { 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 bmake, 6 pkg-config, 7 libbsd, 8 imsg-compat, 9 sndio, 10 flac, 11 mpg123, 12 libvorbis, 13 opusfile, 14 }: 15 16 stdenv.mkDerivation (finalAttrs: { 17 pname = "amused"; 18 version = "0.14"; 19 20 src = fetchFromGitHub { 21 owner = "omar-polo"; 22 repo = "amused"; 23 rev = finalAttrs.version; 24 hash = "sha256-iVBJENiepBnqExMXQezd3Ja4RUNarLOAcA0JQUIfg5o="; 25 }; 26 27 nativeBuildInputs = [ 28 bmake 29 pkg-config 30 ]; 31 32 buildInputs = [ 33 libbsd 34 imsg-compat 35 sndio 36 flac 37 mpg123 38 libvorbis 39 opusfile 40 ]; 41 42 meta = { 43 description = "music player daemon NIH"; 44 homepage = "https://github.com/omar-polo/amused"; 45 license = lib.licenses.isc; 46 maintainers = [ lib.maintainers.sikmir ]; 47 platforms = lib.platforms.linux; 48 skip.ci = stdenv.isDarwin; 49 }; 50 })