Skip to content

File tree

pkgs/development/python-modules/remarshal/default.nix

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,16 @@
1818

1919
buildPythonPackage rec {
2020
pname = "remarshal";
21-
version = "0.14.0";
21+
version = "0.17.0";
2222
format = "pyproject";
2323

2424
src = fetchFromGitHub {
2525
owner = "dbohdan";
2626
repo = pname;
2727
rev = "v${version}";
28-
hash = "sha256:nTM3jrPf0kGE15J+ZXBIt2+NGSW2a6VlZCKj70n5kHM=";
28+
hash = "sha256-FytVq9p7Yo0lS5rHj0crPIpHFjxolW8esSPkj2wLfaI=";
2929
};
3030

31-
postPatch = ''
32-
substituteInPlace pyproject.toml \
33-
--replace "poetry.masonry.api" "poetry.core.masonry.api" \
34-
--replace 'PyYAML = "^5.3"' 'PyYAML = "*"' \
35-
--replace 'tomlkit = "^0.7"' 'tomlkit = "*"'
36-
'';
37-
3831
nativeBuildInputs = [
3932
poetry-core
4033
];
@@ -52,6 +45,7 @@ buildPythonPackage rec {
5245
];
5346

5447
meta = with lib; {
48+
changelog = "https://github.com/remarshal-project/remarshal/releases/tag/v${version}";
5549
description = "Convert between TOML, YAML and JSON";
5650
license = licenses.mit;
5751
homepage = "https://github.com/dbohdan/remarshal";

0 commit comments

Comments
 (0)