python3Packages.rtoml: 0.7 -> 0.8

This commit is contained in:
Markus S. Wamser 2022-10-26 00:23:04 +02:00
parent 89e49d87d3
commit 43294d3272

View File

@ -10,7 +10,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "rtoml"; pname = "rtoml";
version = "0.7"; version = "0.8";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -18,13 +18,13 @@ buildPythonPackage rec {
owner = "samuelcolvin"; owner = "samuelcolvin";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-h4vY63pDkrMHt2X244FssLxHsphsfjNd6gnVFUeZZTY="; sha256 = "sha256-tvX4KcQGw0khBjEXVFmkhsVyAkdr2Bgm6IfD1yGZ37c=";
}; };
cargoDeps = rustPlatform.fetchCargoTarball { cargoDeps = rustPlatform.fetchCargoTarball {
inherit src; inherit src;
name = "${pname}-${version}"; name = "${pname}-${version}";
sha256 = "05fwcs6w023ihw3gyihzbnfwjaqy40d6h0z2yas4kqkkvz9x4f8j"; sha256 = "sha256-KcF3Z71S7ZNZicViqwpClfT736nYYbKcKWylOP+S3HI=";
}; };
nativeBuildInputs = with rustPlatform; [ nativeBuildInputs = with rustPlatform; [
@ -50,11 +50,6 @@ buildPythonPackage rec {
cd tests cd tests
''; '';
pytestFlagsArray = [
"-W"
"ignore::DeprecationWarning"
];
meta = with lib; { meta = with lib; {
description = "Rust based TOML library for Python"; description = "Rust based TOML library for Python";
homepage = "https://github.com/samuelcolvin/rtoml"; homepage = "https://github.com/samuelcolvin/rtoml";