nixpkgs/pkgs/tools/misc/datefmt/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

25 lines
669 B
Nix

{ lib, stdenv, fetchurl, datefmt, testers }:
stdenv.mkDerivation rec {
pname = "datefmt";
version = "0.2.2";
src = fetchurl {
url = "https://cdn.jb55.com/tarballs/datefmt/datefmt-${version}.tar.gz";
sha256 = "sha256-HgW/vOGVEmAbm8k3oIwIa+cogq7qmX7MfTmHqxv9lhY=";
};
makeFlags = [ "PREFIX=$(out)" ];
passthru.tests.version = testers.testVersion { package = datefmt; };
meta = with lib; {
homepage = "https://jb55.com/datefmt";
description = "Tool that formats timestamps in text streams";
platforms = platforms.all;
license = licenses.gpl3Plus;
maintainers = with maintainers; [ jb55 ];
mainProgram = "datefmt";
};
}