mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
gflags: 2.2.2 -> 2.3.0
Diff: https://github.com/gflags/gflags/compare/v2.2.2...v2.3.0 Changelog: https://github.com/gflags/gflags/blob/v2.3.0/ChangeLog.txt
This commit is contained in:
parent
db81f2e6d8
commit
225844edfe
1 changed files with 4 additions and 13 deletions
|
|
@ -2,31 +2,21 @@
|
|||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
cmake,
|
||||
enableShared ? !stdenv.hostPlatform.isStatic,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "gflags";
|
||||
version = "2.2.2";
|
||||
version = "2.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gflags";
|
||||
repo = "gflags";
|
||||
rev = "v${finalAttrs.version}";
|
||||
sha256 = "147i3md3nxkjlrccqg4mq1kyzc7yrhvqv5902iibc7znkvzdvlp0";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-sud3c6XH24YA6vzGQ7LhSoiKycan5JYehC5l2gH6DEo=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fix the build with CMake 4.
|
||||
(fetchpatch {
|
||||
name = "gflags-fix-cmake-4.patch";
|
||||
url = "https://github.com/gflags/gflags/commit/70c01a642f08734b7bddc9687884844ca117e080.patch";
|
||||
hash = "sha256-TYdroBbF27Wvvm/rOahBEvhezuKCcxbtgh/ZhpA5ESo=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
# This isn't used by the build and breaks the CMake build on case-insensitive filesystems (e.g., on Darwin)
|
||||
|
|
@ -48,6 +38,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
It was owned by Google. google-gflags project has been renamed to gflags and maintained by new community.
|
||||
'';
|
||||
homepage = "https://gflags.github.io/gflags/";
|
||||
changelog = "https://github.com/gflags/gflags/blob/${finalAttrs.src.tag}/ChangeLog.txt";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = [ ];
|
||||
platforms = lib.platforms.all;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue