From 9844e027c4a078cdc99e47ca8ba1e4fc13bf5667 Mon Sep 17 00:00:00 2001 From: Marek Mahut Date: Tue, 16 Jan 2018 22:36:03 +0100 Subject: [PATCH] mencal: init at 3.0 --- lib/maintainers.nix | 1 + pkgs/applications/misc/mencal/default.nix | 31 +++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 3 files changed, 34 insertions(+) create mode 100644 pkgs/applications/misc/mencal/default.nix diff --git a/lib/maintainers.nix b/lib/maintainers.nix index 82d79783bbbb..65718e31897b 100644 --- a/lib/maintainers.nix +++ b/lib/maintainers.nix @@ -443,6 +443,7 @@ mjanczyk = "Marcin Janczyk "; mjp = "Mike Playle "; # github = "MikePlayle"; mlieberman85 = "Michael Lieberman "; + mmahut = "Marek Mahut "; moaxcp = "John Mercier "; modulistic = "Pablo Costa "; mog = "Matthew O'Gorman "; diff --git a/pkgs/applications/misc/mencal/default.nix b/pkgs/applications/misc/mencal/default.nix new file mode 100644 index 000000000000..df0a4db7fc70 --- /dev/null +++ b/pkgs/applications/misc/mencal/default.nix @@ -0,0 +1,31 @@ +{ stdenv, fetchurl, perl }: + +stdenv.mkDerivation rec { + name = "mencal-3.0"; + + src = fetchurl { + url = "http://kyberdigi.cz/projects/mencal/files/${name}.tar.gz"; + sha256 = "9328d0b2f3f57847e8753c5184531f4832be7123d1b6623afdff892074c03080"; + }; + + installPhase = '' + mkdir -p $out/bin + cp mencal $out/bin/ + ''; + + buildInputs = [ perl ]; + + meta = with stdenv.lib; { + description = "Menstruation calendar"; + longDescription = '' + Mencal is a simple variation of the well-known unix command cal. + The main difference is that you can have some periodically repeating + days highlighted in color. This can be used to track + menstruation (or other) cycles conveniently. + ''; + homepage = "http://www.kyberdigi.cz/projects/mencal/english.html"; + license = licenses.gpl2; + maintainers = [ maintainers.mmahut ]; + platforms = platforms.all; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 8ad157fab781..2f69d3e29f22 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3459,6 +3459,8 @@ with pkgs; memo = callPackage ../applications/misc/memo/default.nix { }; + mencal = callPackage ../applications/misc/mencal/default.nix { } ; + metamorphose2 = callPackage ../applications/misc/metamorphose2 { }; metar = callPackage ../applications/misc/metar { };