diff options
author | Robert Pearce <me@robertwpearce.com> | 2020-05-09 10:21:35 -0400 |
---|---|---|
committer | Robert Pearce <me@robertwpearce.com> | 2020-05-19 20:29:37 -0400 |
commit | cc2e800a722e53b34f464dce80ffff76e397cbfa (patch) | |
tree | dfac73e9d591e322912d6b247f5b7b96e9775d4f | |
parent | 88c8f0d54007e8e58823fcb0a2f0b6e4462b020f (diff) | |
download | nixpkgs-cc2e800a722e53b34f464dce80ffff76e397cbfa.tar nixpkgs-cc2e800a722e53b34f464dce80ffff76e397cbfa.tar.gz nixpkgs-cc2e800a722e53b34f464dce80ffff76e397cbfa.tar.bz2 nixpkgs-cc2e800a722e53b34f464dce80ffff76e397cbfa.tar.lz nixpkgs-cc2e800a722e53b34f464dce80ffff76e397cbfa.tar.xz nixpkgs-cc2e800a722e53b34f464dce80ffff76e397cbfa.tar.zst nixpkgs-cc2e800a722e53b34f464dce80ffff76e397cbfa.zip |
bashcards: init at v0.1.2
Adds bashcards, a CLI tool to practice flashcards.
-rw-r--r-- | pkgs/tools/misc/bashcards/default.nix | 30 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/tools/misc/bashcards/default.nix b/pkgs/tools/misc/bashcards/default.nix new file mode 100644 index 00000000000..ecaabb43c14 --- /dev/null +++ b/pkgs/tools/misc/bashcards/default.nix @@ -0,0 +1,30 @@ +{ stdenv +, fetchFromGitHub +}: + +stdenv.mkDerivation rec { + pname = "bashcards"; + version = "0.1.2"; + + src = fetchFromGitHub { + owner = "rpearce"; + repo = pname; + rev = "v${version}"; + sha256 = "1zbijbcm9lrqwiax37li0jjqcaxf469wh5d423frain56z1qknxl"; + }; + + dontBuild = true; + installPhase = '' + mkdir -p $out/bin $out/share/man/man8 + cp bashcards.8 $out/share/man/man8/ + cp bashcards $out/bin/ + ''; + + meta = with stdenv.lib; { + description = "Practice flashcards in bash"; + homepage = "https://github.com/rpearce/bashcards/"; + license = licenses.bsd3; + maintainers = with maintainers; [ rpearce ]; + platforms = platforms.all; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 6e5f9d8f888..d8ca6416e97 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -812,6 +812,8 @@ in bash-my-aws = callPackage ../tools/admin/bash-my-aws { }; + bashcards = callPackage ../tools/misc/bashcards { }; + bcachefs-tools = callPackage ../tools/filesystems/bcachefs-tools { }; bitwarden = callPackage ../tools/security/bitwarden { }; |