mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
a54ff013d6
https://github.com/music-assistant/server/releases/tag/2.2.4 https://github.com/music-assistant/server/releases/tag/2.2.5 https://github.com/music-assistant/server/releases/tag/2.2.6
36 lines
788 B
Nix
36 lines
788 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, setuptools
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "music-assistant-frontend";
|
|
version = "2.8.13";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-bbNIYVFASAdeF1c+Nrcb92wMEBhrCMI8NdQvYhGvbLI=";
|
|
};
|
|
|
|
postPatch = ''
|
|
substituteInPlace pyproject.toml \
|
|
--replace-fail "~=" ">="
|
|
'';
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "music_assistant_frontend" ];
|
|
|
|
meta = with lib; {
|
|
changelog = "https://github.com/music-assistant/frontend/releases/tag/${version}";
|
|
description = "The Music Assistant frontend";
|
|
homepage = "https://github.com/music-assistant/frontend";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ hexa ];
|
|
};
|
|
}
|