nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 38 lines 956 B view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 perl, 6}: 7 8stdenv.mkDerivation rec { 9 pname = "mencal"; 10 version = "3.0"; 11 12 src = fetchurl { 13 url = "http://kyberdigi.cz/projects/mencal/files/mencal-${version}.tar.gz"; 14 sha256 = "9328d0b2f3f57847e8753c5184531f4832be7123d1b6623afdff892074c03080"; 15 }; 16 17 installPhase = '' 18 mkdir -p $out/bin 19 cp mencal $out/bin/ 20 ''; 21 22 buildInputs = [ perl ]; 23 24 meta = with lib; { 25 description = "Menstruation calendar"; 26 longDescription = '' 27 Mencal is a simple variation of the well-known unix command cal. 28 The main difference is that you can have some periodically repeating 29 days highlighted in color. This can be used to track 30 menstruation (or other) cycles conveniently. 31 ''; 32 homepage = "http://www.kyberdigi.cz/projects/mencal/english.html"; 33 license = licenses.gpl2; 34 maintainers = [ maintainers.mmahut ]; 35 platforms = platforms.all; 36 mainProgram = "mencal"; 37 }; 38}