nixpkgs/pkgs/tools/misc/sdate/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

20 lines
591 B
Nix

{ stdenv, fetchurl, autoreconfHook }:
stdenv.mkDerivation rec {
pname = "sdate";
version = "0.5";
src = fetchurl {
url = "https://github.com/ChristophBerg/sdate/archive/${version}.tar.gz";
sha256 = "0gbjl1jfxjwiiwf9rz38yp6rb1mgzhawcyg0g9byl6m4kgivf0cx";
};
buildInputs = [ autoreconfHook ];
meta = {
homepage = https://www.df7cb.de/projects/sdate;
description = "Eternal september version of the date program";
license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [ edef ];
platforms = stdenv.lib.platforms.all;
};
}