Guest User

tegaki-python nixos

a guest
Jan 24th, 2024
274
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | Source Code | 0 0
  1. {
  2. lib,
  3. stdenv,
  4. fetchFromGitHub,
  5. python2,
  6. }:
  7. python2.pkgs.buildPythonApplication rec {
  8. pname = "tegaki-python";
  9. version = "0.3.1";
  10. pyproject = true;
  11.  
  12. src = fetchFromGitHub {
  13. owner = "tegaki";
  14. repo = "tegaki";
  15. rev = "v${version}";
  16. hash = "sha256-JTt1npGWue9xv5ViQ1bRx3M3cEmuQPUWvAWhm1wUvCY=";
  17. };
  18.  
  19. sourceRoot = "source/tegaki-python";
  20.  
  21. meta = with lib; {
  22. description = "Chinese and Japanese Handwriting Recognition";
  23. homepage = "https://github.com/tegaki/tegaki/tree/master/tegaki-python";
  24. license = licenses.unfree; # FIXME: nix-init did not found a license
  25. maintainers = with maintainers; [];
  26. mainProgram = "tegaki-python";
  27. platforms = platforms.all;
  28. };
  29. }
  30.  
Tags: nixos
Advertisement
Add Comment
Please, Sign In to add comment