3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #197801 from wamserma/bump-rtoml

python3Packages.rtoml: 0.7 -> 0.8
This commit is contained in:
Stanisław Pitucha 2022-10-26 15:25:49 +11:00 committed by GitHub
commit 5003695948
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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";