diff options
author | Stephen <stephengroat@users.noreply.github.com> | 2017-11-15 12:33:19 -0800 |
---|---|---|
committer | Stephen G <stephen@egroat.com> | 2017-11-15 14:29:08 -0800 |
commit | bec7c22dcab1acc619abadf18664f14f3ec65396 (patch) | |
tree | f43da72be424a18d394132f9256188f0a43f76ed /pkgs/development/libraries/cmocka | |
parent | 1e64aa9518571822db2c8bebb1dcfeffa6e6881f (diff) |
cmocka: 1.0.1 -> 1.1.1
Diffstat (limited to 'pkgs/development/libraries/cmocka')
-rw-r--r-- | pkgs/development/libraries/cmocka/default.nix | 21 |
1 files changed, 5 insertions, 16 deletions
diff --git a/pkgs/development/libraries/cmocka/default.nix b/pkgs/development/libraries/cmocka/default.nix index f352357ac21b7..995844524dcf7 100644 --- a/pkgs/development/libraries/cmocka/default.nix +++ b/pkgs/development/libraries/cmocka/default.nix @@ -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; { |