Unverified Commit 9f813de3 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

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

parents eff1c765 3e64d490
Loading
Loading
Loading
Loading
+6 −8
Original line number Diff line number Diff line
{
  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 ];
  };