memo: init at version 0.2
This commit is contained in:
parent
7fbf1c9afa
commit
c80e1b6fe7
35
pkgs/applications/misc/memo/default.nix
Normal file
35
pkgs/applications/misc/memo/default.nix
Normal file
|
@ -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;
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue