mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-01 01:33:20 +00:00
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:
parent
524b2a6525
commit
63b11397c0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user