Martin Weinelt 2023-08-23 22:34:09 +02:00
parent 669bfe2355
commit abc57e2f0f
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -18,23 +18,16 @@
buildPythonPackage rec {
pname = "remarshal";
version = "0.14.0";
version = "0.17.0";
format = "pyproject";
src = fetchFromGitHub {
owner = "dbohdan";
repo = pname;
rev = "v${version}";
hash = "sha256:nTM3jrPf0kGE15J+ZXBIt2+NGSW2a6VlZCKj70n5kHM=";
hash = "sha256-FytVq9p7Yo0lS5rHj0crPIpHFjxolW8esSPkj2wLfaI=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace "poetry.masonry.api" "poetry.core.masonry.api" \
--replace 'PyYAML = "^5.3"' 'PyYAML = "*"' \
--replace 'tomlkit = "^0.7"' 'tomlkit = "*"'
'';
nativeBuildInputs = [
poetry-core
];
@ -52,6 +45,7 @@ buildPythonPackage rec {
];
meta = with lib; {
changelog = "https://github.com/remarshal-project/remarshal/releases/tag/v${version}";
description = "Convert between TOML, YAML and JSON";
license = licenses.mit;
homepage = "https://github.com/dbohdan/remarshal";