commit
						f26e514cfe
					
				@ -6646,6 +6646,12 @@
 | 
			
		||||
    githubId = 1942810;
 | 
			
		||||
    name = "Christian Ulrich";
 | 
			
		||||
  };
 | 
			
		||||
  rpearce = {
 | 
			
		||||
    email = "me@robertwpearce.com";
 | 
			
		||||
    github = "rpearce";
 | 
			
		||||
    githubId = 592876;
 | 
			
		||||
    name = "Robert W. Pearce";
 | 
			
		||||
  };
 | 
			
		||||
  rprospero = {
 | 
			
		||||
    email = "rprospero+nix@gmail.com";
 | 
			
		||||
    github = "rprospero";
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										30
									
								
								pkgs/tools/misc/bashcards/default.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								pkgs/tools/misc/bashcards/default.nix
									
									
									
									
									
										Normal file
									
								
							@ -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;
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
@ -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 { };
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user