From c80e1b6fe72277f8c05b03fa39ff6e85e586ddd8 Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Wed, 29 Nov 2017 17:39:52 -0300 Subject: [PATCH 1/2] memo: init at version 0.2 --- pkgs/applications/misc/memo/default.nix | 35 +++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 37 insertions(+) create mode 100644 pkgs/applications/misc/memo/default.nix diff --git a/pkgs/applications/misc/memo/default.nix b/pkgs/applications/misc/memo/default.nix new file mode 100644 index 000000000000..d781518ce9f1 --- /dev/null +++ b/pkgs/applications/misc/memo/default.nix @@ -0,0 +1,35 @@ +{ fetchFromGitHub, ack , tree, stdenv, ... }: + +stdenv.mkDerivation rec { + + name = "memo-${version}"; + + version = "0.2"; + + src = fetchFromGitHub { + owner = "mrVanDalo"; + repo = "memo"; + rev = "${version}"; + sha256 = "0mww4w5m6jv4s0krm74cccrz0vlr8rrwiv122jk67l1v9r80pchs"; + }; + + installPhase = '' + mkdir -p $out/{bin,share/man/man1,share/bash-completion/completions} + mv memo $out/bin/ + mv doc/memo.1 $out/share/man/man1/memo.1 + mv completion/memo.bash $out/share/bash-completion/completions/memo.sh + ''; + + meta = { + description = "A simple tool written in bash to memorize stuff"; + longDescription = '' + A simple tool written in bash to memorize stuff. + Memo organizes is structured through topics which are folders in ~/memo. + ''; + homepage = http://palovandalo.com/memo/; + downloadPage = https://github.com/mrVanDalo/memo/releases; + license = stdenv.lib.licenses.gpl3; + maintainers = [ stdenv.lib.maintainers.palo ]; + platforms = stdenv.lib.platforms.all; + }; +} \ No newline at end of file diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f6b486177641..761017ddcda0 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3359,6 +3359,8 @@ with pkgs; megatools = callPackage ../tools/networking/megatools { }; + memo = callPackage ../applications/misc/memo/default.nix { }; + metamorphose2 = callPackage ../applications/misc/metamorphose2 { }; metar = callPackage ../applications/misc/metar { }; From 4896b3723693ea7a7b0f337cc02a07f184b1a0e9 Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Wed, 29 Nov 2017 18:26:51 -0300 Subject: [PATCH 2/2] maintainers: changed email and nice of maintainer mrVanDalo --- lib/maintainers.nix | 2 +- pkgs/applications/audio/aj-snapshot/default.nix | 2 +- pkgs/applications/misc/memo/default.nix | 2 +- pkgs/tools/backup/backup/default.nix | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/maintainers.nix b/lib/maintainers.nix index 02ea550e84bc..412424d67379 100644 --- a/lib/maintainers.nix +++ b/lib/maintainers.nix @@ -436,6 +436,7 @@ mpcsh = "Mark Cohen "; mpscholten = "Marc Scholten "; mpsyco = "Francis St-Amour "; + mrVanDalo = "Ingolf Wanger "; msackman = "Matthew Sackman "; mschristiansen = "Mikkel Christiansen "; msteen = "Matthijs Steen "; @@ -483,7 +484,6 @@ oxij = "Jan Malakhovski "; paholg = "Paho Lurie-Gregg "; pakhfn = "Fedor Pakhomov "; - palo = "Ingolf Wanger "; panaeon = "Vitalii Voloshyn