Skip to content

Commit

Permalink
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions pkgs/development/python-modules/remarshal/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
];
Expand All @@ -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";
Expand Down

0 comments on commit abc57e2

Please sign in to comment.