Merge pull request #148822 from jb55/datefmt

datefmt: init at 0.2.1
This commit is contained in:
0x4A6F 2021-12-07 23:50:44 +01:00 committed by GitHub
commit ce3ab712ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,23 @@
{ lib, stdenv, fetchurl, datefmt, testVersion }:
stdenv.mkDerivation rec {
pname = "datefmt";
version = "0.2.1";
src = fetchurl {
url = "http://cdn.jb55.com/tarballs/datefmt/datefmt-${version}.tar.gz";
sha256 = "5d5e765380afe39eb39d48f752aed748b57dfd843a4947b2a6d18ab9b5e68092";
};
makeFlags = [ "PREFIX=$(out)" ];
passthru.tests.version = testVersion { package = datefmt; };
meta = with lib; {
homepage = "https://jb55.com/datefmt";
description = "A tool that formats timestamps in text streams";
platforms = platforms.all;
license = licenses.gpl3Plus;
maintainers = with maintainers; [ jb55 ];
};
}

View File

@ -2681,6 +2681,8 @@ with pkgs;
howard-hinnant-date = callPackage ../development/libraries/howard-hinnant-date { };
datefmt = callPackage ../tools/misc/datefmt { };
datefudge = callPackage ../tools/system/datefudge { };
dateutils = callPackage ../tools/misc/dateutils { };