python311Packages.floret: fix build by supplying <cstdint>
This commit is contained in:
parent
a9a0c2c4ed
commit
2892afcaeb
12
pkgs/development/python-modules/floret/cstdint.patch
Normal file
12
pkgs/development/python-modules/floret/cstdint.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff --git a/src/args.cc b/src/args.cc
|
||||
index a8975e81624c..99854c919341 100644
|
||||
--- a/src/args.cc
|
||||
+++ b/src/args.cc
|
||||
@@ -10,6 +10,7 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
+#include <cstdint>
|
||||
#include <iostream>
|
||||
#include <stdexcept>
|
||||
#include <string>
|
@ -23,6 +23,8 @@ buildPythonPackage rec {
|
||||
hash = "sha256-7vkw6H0ZQoHEwNusY6QWh/vPbSCdP1ZaaqABHsZH6hQ=";
|
||||
};
|
||||
|
||||
patches = [./cstdint.patch ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
pybind11
|
||||
setuptools
|
||||
|
Loading…
Reference in New Issue
Block a user