python310Packages.remarshal: 0.14.0 -> 0.17.0
https://github.com/remarshal-project/remarshal/releases/tag/v0.15.0 https://github.com/remarshal-project/remarshal/releases/tag/v0.15.1 https://github.com/remarshal-project/remarshal/releases/tag/v0.16.0 https://github.com/remarshal-project/remarshal/releases/tag/v0.16.1 https://github.com/remarshal-project/remarshal/releases/tag/v0.17.0
This commit is contained in:
parent
669bfe2355
commit
abc57e2f0f
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user