Skip to content

Commit 7021d07

Browse files
committed
libcutl: 1.10.0 -> 1.11.0
1 parent e27beb1 commit 7021d07

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

pkgs/by-name/li/libcutl/package.nix

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,28 @@
11
{
2-
fetchurl,
2+
build2,
3+
fetchgit,
34
gccStdenv,
45
lib,
56
xercesc,
67
}:
78

89
gccStdenv.mkDerivation (finalAttrs: {
910
pname = "libcutl";
10-
version = "1.10.0";
11+
version = "1.11.0";
1112

12-
src = fetchurl {
13-
url = "https://codesynthesis.com/download/libcutl/${lib.versions.majorMinor finalAttrs.version}/libcutl-${finalAttrs.version}.tar.bz2";
14-
hash = "sha256-ElFjxnDjcrR9VibVQ3n/j7re1szV23esC/WRKkAXEhw=";
13+
src = fetchgit {
14+
url = "https://git.codesynthesis.com/libcutl/libcutl.git";
15+
rev = "refs/tags/v${finalAttrs.version}";
16+
hash = "sha256-LY2ZyxduI6xftVjVqjNkhYPFTL5bvHC289Qcei1Kiw4=";
1517
};
1618

19+
nativeBuildInputs = [ build2 ];
20+
1721
buildInputs = [ xercesc ];
1822

1923
enableParallelBuilding = true;
2024

21-
env.NIX_CFLAGS_COMPILE = toString [ "-std=c++14" ];
25+
doCheck = true;
2226

2327
meta = {
2428
description = "C++ utility library from Code Synthesis";
@@ -28,7 +32,7 @@ gccStdenv.mkDerivation (finalAttrs: {
2832
meta-programming tests, smart pointers, containers, compiler building blocks, etc.
2933
'';
3034
homepage = "https://codesynthesis.com/projects/libcutl/";
31-
changelog = "https://git.codesynthesis.com/cgit/libcutl/libcutl/plain/NEWS?h=${finalAttrs.version}";
35+
changelog = "https://git.codesynthesis.com/cgit/libcutl/libcutl/log/";
3236
platforms = lib.platforms.all;
3337
maintainers = [ ];
3438
license = lib.licenses.mit;

0 commit comments

Comments
 (0)