mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 15:36:47 +03:00
cmocka: 1.0.1 -> 1.1.1
This commit is contained in:
parent
1e64aa9518
commit
bec7c22dca
@ -1,26 +1,15 @@
|
||||
{ fetchurl, stdenv, cmake, fetchpatch }:
|
||||
{ fetchurl, stdenv, cmake }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "cmocka-${version}";
|
||||
version = "1.0.1";
|
||||
majorVersion = "1.1";
|
||||
version = "${majorVersion}.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://cmocka.org/files/1.0/cmocka-${version}.tar.xz";
|
||||
sha256 = "0fvm6rdalqcxckbddch8ycdw6n2ckldblv117n09chi2l7bm0q5k";
|
||||
url = "https://cmocka.org/files/${majorVersion}/cmocka-${version}.tar.xz";
|
||||
sha256 = "f02ef48a7039aa77191d525c5b1aee3f13286b77a13615d11bc1148753fc0389";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# This fixes the build for clang-3.7.0 and thus Darwin.
|
||||
# See https://open.cryptomilk.org/issues/43 for more info.
|
||||
#
|
||||
# The patch is already merged to upstream, so it should be removed
|
||||
# here on next release.
|
||||
(fetchpatch {
|
||||
url = "https://git.cryptomilk.org/projects/cmocka.git/patch/?id=1b595a80934fa95234fb290913cfe533f740d965";
|
||||
sha256 = "1fg8xwb1mrrmw4dqa65ghnvgfdkpi0lv4j2gq0lm9ayvsi3v00vp";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user