python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / misc / bashcards / default.nix
blob30a442ef5623322693935567ddb9fb870292dbac
1 { lib, stdenv
2 , fetchFromGitHub
3 }:
5 stdenv.mkDerivation rec {
6   pname = "bashcards";
7   version = "0.1.3";
9   src = fetchFromGitHub {
10     owner = "rpearce";
11     repo = pname;
12     rev = "v${version}";
13     sha256 = "1rpqrh0022sbrjvd55a0jvpdqhhka5msf8dsz6adbbmxy3xzgdid";
14   };
16   dontBuild = true;
17   installPhase = ''
18     mkdir -p $out/bin $out/share/man/man8
19     cp bashcards.8 $out/share/man/man8/
20     cp bashcards $out/bin/
21   '';
23   meta = with lib; {
24     description = "Practice flashcards in bash";
25     homepage = "https://github.com/rpearce/bashcards/";
26     license = licenses.bsd3;
27     maintainers = with maintainers; [ rpearce ];
28     platforms = platforms.all;
29   };