diff options
author | Orivej Desh <orivej@gmx.fr> | 2020-05-22 09:13:23 +0000 |
---|---|---|
committer | Orivej Desh <orivej@gmx.fr> | 2020-05-22 09:13:23 +0000 |
commit | 16d7f7edae6847e7a792d79b533b245f71907f46 (patch) | |
tree | a304b937bc072e96e2745ede17c7e6b9b4495bee /pkgs/tools/misc/bashcards/default.nix | |
parent | eae4f22176789ce3b6a66bad773a45b12e895cdf (diff) | |
parent | 5de1e307f29ab91baeb43ab2a58ed13a944e40ea (diff) | |
download | nixlib-16d7f7edae6847e7a792d79b533b245f71907f46.tar nixlib-16d7f7edae6847e7a792d79b533b245f71907f46.tar.gz nixlib-16d7f7edae6847e7a792d79b533b245f71907f46.tar.bz2 nixlib-16d7f7edae6847e7a792d79b533b245f71907f46.tar.lz nixlib-16d7f7edae6847e7a792d79b533b245f71907f46.tar.xz nixlib-16d7f7edae6847e7a792d79b533b245f71907f46.tar.zst nixlib-16d7f7edae6847e7a792d79b533b245f71907f46.zip |
Merge branch 'master' into staging
Diffstat (limited to 'pkgs/tools/misc/bashcards/default.nix')
-rw-r--r-- | pkgs/tools/misc/bashcards/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/tools/misc/bashcards/default.nix b/pkgs/tools/misc/bashcards/default.nix new file mode 100644 index 000000000000..ecaabb43c143 --- /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; + }; +} |