From 63b11397c0576cb80f08569fcb7beb6c8f20c40b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sat, 4 Feb 2023 11:57:21 -0800 Subject: 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 --- pkgs/development/python-modules/jaraco-abode/default.nix | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/jaraco-abode/default.nix b/pkgs/development/python-modules/jaraco-abode/default.nix index 0f56965ebd68..15ac7c63a7f1 100644 --- a/pkgs/development/python-modules/jaraco-abode/default.nix +++ b/pkgs/development/python-modules/jaraco-abode/default.nix @@ -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 -- cgit v1.2.3