Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: ddc2f887f5f4
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 8c1cb557c6db
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Feb 28, 2020

  1. fmt: 6.1.1 -> 6.1.2

    Tests and parallel building are enabled by default.
    orivej committed Feb 28, 2020
    Copy the full SHA
    8c1cb55 View commit details
Showing with 4 additions and 10 deletions.
  1. +4 −10 pkgs/development/libraries/fmt/default.nix
14 changes: 4 additions & 10 deletions pkgs/development/libraries/fmt/default.nix
Original file line number Diff line number Diff line change
@@ -1,32 +1,26 @@
{ stdenv, fetchFromGitHub, cmake }:

stdenv.mkDerivation rec {
version = "6.1.1";
pname = "fmt";
version = "6.1.2";

src = fetchFromGitHub {
owner = "fmtlib";
repo = "fmt";
rev = version;
sha256 = "0arii4hs33lqlbfwilnxiq8mqcvdwz66b24qa7fdjiga02j8kl2n";
sha256 = "1ngb2fd7c2jnxi3x5kjgxmpixmyc737f77vibij43dl77ybiaihi";
};

outputs = [ "out" "dev" ];

nativeBuildInputs = [ cmake ];

cmakeFlags = [
"-DFMT_TEST=TRUE"
"-DBUILD_SHARED_LIBS=TRUE"
"-DBUILD_SHARED_LIBS=ON"
"-DCMAKE_SKIP_BUILD_RPATH=OFF" # for tests
];

enableParallelBuilding = true;

doCheck = true;
# preCheckHook ensures the test binaries can find libfmt.so
preCheck = ''
export LD_LIBRARY_PATH="$PWD"
'';

meta = with stdenv.lib; {
description = "Small, safe and fast formatting library";