From 6948427bc8fefc4043be9768a765e53ecf269c1c Mon Sep 17 00:00:00 2001
From: Andreas Kloeckner <inform@tiker.net>
Date: Mon, 9 May 2022 17:43:00 -0500
Subject: [PATCH] Add Zenodo badge, citation info

---
 CITATION.cff | 11 +++++++++++
 README.rst   |  3 +++
 2 files changed, 14 insertions(+)
 create mode 100644 CITATION.cff

diff --git a/CITATION.cff b/CITATION.cff
new file mode 100644
index 00000000..65e020ed
--- /dev/null
+++ b/CITATION.cff
@@ -0,0 +1,11 @@
+cff-version: 1.2.0
+message: "If you use this software, please cite it as below."
+authors:
+- family-names: "Kloeckner"
+  given-names: "Andreas"
+  orcid: "https://orcid.org/0000-0003-1228-519X"
+title: "PyOpenCL"
+version: 2022.1.3
+doi: 10.5281/zenodo.6533956
+date-released: 2022-03-10
+url: "https://github.com/inducer/pyopencl"
diff --git a/README.rst b/README.rst
index e9a98b69..65875809 100644
--- a/README.rst
+++ b/README.rst
@@ -10,6 +10,9 @@ PyOpenCL: Pythonic Access to OpenCL, with Arrays and Algorithms
 .. image:: https://badge.fury.io/py/pyopencl.png
     :alt: Python Package Index Release Page
     :target: https://pypi.org/project/pyopencl/
+.. image:: https://zenodo.org/badge/1575307.svg
+    :alt: Zenodo DOI for latest release
+   :target: https://zenodo.org/badge/latestdoi/1575307
 
 PyOpenCL lets you access GPUs and other massively parallel compute
 devices from Python. It tries to offer computing goodness in the
-- 
GitLab