python310Packages.jaraco-abode: use MANIFEST.in to include events.csv

Since `include_package_data = True` all files listed in MANIFEST.in are
automatically installed. Doing so based on a GitHub tarball is
unproblematic because it only contains files tracked by a VCS and thus
also installed automatically when using setuptools-scm. See
https://setuptools.pypa.io/en/latest/userguide/datafiles.html#include-package-data
This commit is contained in:
Robert Schütz 2023-02-04 11:57:21 -08:00
parent 524b2a6525
commit 63b11397c0

View File

@ -3,7 +3,6 @@
, pythonOlder
, fetchFromGitHub
, fetchPypi
, fetchpatch
, setuptools
, setuptools-scm
, requests
@ -39,14 +38,10 @@ buildPythonPackage rec {
hash = "sha256-ZDdZba1oTOPaUm+r4fWC5E3ni/k8kXo6t5AWQTvfd5E=";
};
patches = [
postPatch = ''
# https://github.com/jaraco/jaraco.abode/issues/19
(fetchpatch {
name = "specify-options-package-data.patch";
url = "https://github.com/jaraco/jaraco.abode/commit/8deebf57162fa097243d2b280942b6b7f95174c8.patch";
hash = "sha256-Iu2uw9D+nMdVJZyoecEkwQaJH1oSzFN/ZLXKPZPGuPk=";
})
];
echo "graft jaraco" > MANIFEST.in
'';
nativeBuildInputs = [
setuptools