cpp-utilities: patch upstream issue 18 (#80014)
See https://github.com/Martchus/cpp-utilities/issues/18
This commit is contained in:
parent
e1e71e5886
commit
d7c6c9a793
1 changed files with 17 additions and 1 deletions
|
@ -1,4 +1,9 @@
|
|||
{ stdenv, fetchFromGitHub, cmake, cppunit }:
|
||||
{ stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, cmake
|
||||
, cppunit
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cpp-utilities";
|
||||
|
@ -10,6 +15,17 @@ stdenv.mkDerivation rec {
|
|||
rev = "v${version}";
|
||||
sha256 = "0cghk1a0ki1063ci63imakmggwzkky1hx6lhrvc0wjfv754wsklb";
|
||||
};
|
||||
# See https://github.com/Martchus/cpp-utilities/issues/18
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://github.com/Martchus/cpp-utilities/commit/b2a2773cdfb2b0017a3fa3d0ed2259a9a5fda666.patch";
|
||||
sha256 = "01js90ba4xxljifncm48zbxmg7mwwz1gla1hn87yzbic47d85hfj";
|
||||
})
|
||||
(fetchpatch {
|
||||
url = "https://github.com/Martchus/cpp-utilities/commit/4dd2179f191d1ace113f26177944684fa1561dc1.patch";
|
||||
sha256 = "0chw33mwsvj7cigd1c4xl2zhpbfsp5rrijdm46qpn78bq70xcz9j";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
checkInputs = [ cppunit ];
|
||||
|
|
Loading…
Reference in a new issue