mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 03:03:37 +00:00
37baefd47a
https://github.com/music-assistant/server/releases/tag/2.1.0 https://github.com/music-assistant/server/releases/tag/2.1.1
36 lines
787 B
Nix
36 lines
787 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, setuptools
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "music-assistant-frontend";
|
|
version = "2.7.0";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-KrloxxdqIwQ5NsxAGm28D5StHnw9LTqDDtcchD5X5Qk=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|