Loading pkgs/by-name/to/tomlcpp/package.nix +14 −5 Original line number Diff line number Diff line { lib, stdenv, fetchFromGitHub }: { lib, stdenv, fetchFromGitHub, fetchpatch }: stdenv.mkDerivation rec { pname = "tomlcpp"; Loading @@ -11,17 +11,26 @@ stdenv.mkDerivation rec { hash = "sha256-PM3gURXhyTZr59BWuLHvltjKOlKUSBT9/rqTeX5V//k="; }; patches = [ (fetchpatch { # Use implicit $AR variable in Makefile # https://github.com/cktan/tomlcpp/pull/6 url = "https://github.com/cktan/tomlcpp/commit/abdb4e0db8b27f719434f5a0d6ec0b1a6b086ded.patch"; hash = "sha256-SurUKdAZNWqBC7ss5nv5mDnJyC3DqxG/Q/FweTrkLnk="; }) ]; dontConfigure = true; installFlags = [ "prefix=${placeholder "out"}" ]; meta = with lib;{ meta = { homepage = "https://github.com/cktan/tomlcpp"; description = "No fanfare TOML C++ Library"; license = licenses.mit; maintainers = with maintainers; [ AndersonTorres ]; platforms = with platforms; unix; license = lib.licenses.mit; maintainers = with lib.maintainers; [ AndersonTorres ]; platforms = with lib.platforms; unix; }; } Loading
pkgs/by-name/to/tomlcpp/package.nix +14 −5 Original line number Diff line number Diff line { lib, stdenv, fetchFromGitHub }: { lib, stdenv, fetchFromGitHub, fetchpatch }: stdenv.mkDerivation rec { pname = "tomlcpp"; Loading @@ -11,17 +11,26 @@ stdenv.mkDerivation rec { hash = "sha256-PM3gURXhyTZr59BWuLHvltjKOlKUSBT9/rqTeX5V//k="; }; patches = [ (fetchpatch { # Use implicit $AR variable in Makefile # https://github.com/cktan/tomlcpp/pull/6 url = "https://github.com/cktan/tomlcpp/commit/abdb4e0db8b27f719434f5a0d6ec0b1a6b086ded.patch"; hash = "sha256-SurUKdAZNWqBC7ss5nv5mDnJyC3DqxG/Q/FweTrkLnk="; }) ]; dontConfigure = true; installFlags = [ "prefix=${placeholder "out"}" ]; meta = with lib;{ meta = { homepage = "https://github.com/cktan/tomlcpp"; description = "No fanfare TOML C++ Library"; license = licenses.mit; maintainers = with maintainers; [ AndersonTorres ]; platforms = with platforms; unix; license = lib.licenses.mit; maintainers = with lib.maintainers; [ AndersonTorres ]; platforms = with lib.platforms; unix; }; }