Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonApplication 3, fetchFromGitLab 4, python-musicpd 5, requests}: 6 7buildPythonApplication rec { 8 pname = "mpd-sima"; 9 version = "0.18.2"; 10 11 src = fetchFromGitLab { 12 owner = "kaliko"; 13 repo = "sima"; 14 rev = version; 15 sha256 = "sha256-lMvM1EqS1govhv4B2hJzIg5DFQYgEr4yJJtgOQxnVlY="; 16 }; 17 18 format = "setuptools"; 19 20 propagatedBuildInputs = [ 21 requests 22 python-musicpd 23 ]; 24 25 doCheck = true; 26 27 preCheck = '' 28 export HOME="$(mktemp -d)" 29 ''; 30 31 meta = with lib; { 32 description = "An autoqueuing mpd client"; 33 homepage = "https://kaliko.me/mpd-sima/"; 34 license = licenses.gpl3Plus; 35 platforms = platforms.linux; 36 maintainers = with lib.maintainers; [ apfelkuchen6 ]; 37 }; 38}