pyevtk: 1.2.0 -> 1.6.0; change upstream url (#331360)

This commit is contained in:
Aleksana 2024-10-29 18:47:53 +08:00 committed by GitHub
commit 9f813de3af
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,7 +1,7 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
fetchPypi,
setuptools,
numpy,
pytestCheckHook,
@ -10,14 +10,13 @@
buildPythonPackage rec {
pname = "pyevtk";
version = "1.2.0";
version = "1.6.0";
pyproject = true;
src = fetchFromGitHub {
owner = "pyscience-projects";
repo = "pyevtk";
rev = "refs/tags/v${version}";
hash = "sha256-HrodoVxjREZiutgRJ3ZUrART29+gAZfpR9f4A4SRh4Q=";
src = fetchPypi {
inherit pname version;
hash = "sha256-H2vnh2o6AFyCWIYVUdpP5+RP8aLn/yqT1txR3u39pfQ=";
};
postPatch = ''
@ -38,7 +37,6 @@ buildPythonPackage rec {
meta = {
description = "Exports data to binary VTK files for visualization/analysis";
homepage = "https://github.com/pyscience-projects/pyevtk";
changelog = "https://github.com/pyscience-projects/pyevtk/blob/${src.rev}/CHANGES.txt";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ sigmanificient ];
};