diff options
author | Sergei Trofimovich <slyich@gmail.com> | 2023-02-04 20:34:08 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyich@gmail.com> | 2023-02-04 20:34:08 +0000 |
commit | 8e09232439b7936706b753309a1e6592a83a024a (patch) | |
tree | 3dcd4d0ac04506ae0636218c042379c375d8a012 /pkgs/development/libraries/libbsd | |
parent | 524b2a65251dad3018f168af2049f5a29b7d5da8 (diff) |
libbsd: 0.11.6 -> 0.11.7
While at it added trivial updater.
Diffstat (limited to 'pkgs/development/libraries/libbsd')
-rw-r--r-- | pkgs/development/libraries/libbsd/default.nix | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/pkgs/development/libraries/libbsd/default.nix b/pkgs/development/libraries/libbsd/default.nix index b8f6aac0b3884..0c8040010e722 100644 --- a/pkgs/development/libraries/libbsd/default.nix +++ b/pkgs/development/libraries/libbsd/default.nix @@ -1,12 +1,18 @@ -{ lib, stdenv, fetchurl, autoreconfHook, libmd }: +{ lib +, stdenv +, fetchurl +, autoreconfHook +, libmd +, gitUpdater +}: stdenv.mkDerivation rec { pname = "libbsd"; - version = "0.11.6"; + version = "0.11.7"; src = fetchurl { url = "https://libbsd.freedesktop.org/releases/${pname}-${version}.tar.xz"; - sha256 = "sha256-GbOPMXLq9pPm4caHFGNhkMfkiFHkUiTXILO1vASZtd8="; + hash = "sha256-m6oYYFnrvyXAYwjp+ZH9ox9xg8DySTGCbYOqar2KAmE="; }; outputs = [ "out" "dev" "man" ]; @@ -18,6 +24,11 @@ stdenv.mkDerivation rec { patches = [ ./darwin.patch ]; + passthru.updateScript = gitUpdater { + # No nicer place to find latest release. + url = "https://gitlab.freedesktop.org/libbsd/libbsd.git"; + }; + meta = with lib; { description = "Common functions found on BSD systems"; homepage = "https://libbsd.freedesktop.org/"; |