1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 15:41:40 +00:00

cpp-utilities: patch upstream issue 18 (#80014)

See https://github.com/Martchus/cpp-utilities/issues/18
This commit is contained in:
Doron Behar 2020-02-25 10:36:57 +02:00 committed by GitHub
parent e1e71e5886
commit d7c6c9a793
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 ];