python-mypy.scm 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. (define-module (python-mypy-extensions)
  2. #:use-module (guix packages)
  3. #:use-module (gnu packages python-xyz)
  4. #:use-module (gnu packages sphinx)
  5. #:use-module (gnu packages check)
  6. #:use-module (guix utils)
  7. #:use-module (gnu packages python)
  8. #:use-module (guix download)
  9. #:use-module (guix licenses)
  10. #:use-module (guix build-system python))
  11. (define-public python-mypy-extensions
  12. (package
  13. (name "python-mypy-extensions")
  14. (version "0.4.3")
  15. (source
  16. (origin
  17. (method url-fetch)
  18. (uri (pypi-uri "mypy-extensions" version))
  19. (sha256
  20. (base32
  21. "1a04qsk8hd1lqns8w1j7cr0vmvbhg450di5k1i16kqxkbf7q30id"))))
  22. (build-system python-build-system)
  23. ;;(propagated-inputs
  24. ;; `(("python-typing" ,python-typing)))
  25. (home-page
  26. "https://github.com/python/mypy_extensions")
  27. (synopsis
  28. "Experimental type system extensions for programs checked with the mypy typechecker.")
  29. (description
  30. "Experimental type system extensions for programs checked with the mypy typechecker.")
  31. (license #f)))
  32. (define-public python-mypy
  33. (package
  34. (name "python-mypy")
  35. (version "0.782")
  36. (source
  37. (origin
  38. (method url-fetch)
  39. (uri (pypi-uri "mypy" version))
  40. (sha256
  41. (base32
  42. "030kn709515452n6gy2i1d9fg6fyrkmdz228lfpmbslybsld9xzg"))))
  43. (build-system python-build-system)
  44. (propagated-inputs
  45. `(("python-mypy-extensions" ,python-mypy-extensions)
  46. ("python-typed-ast" ,python-typed-ast)
  47. ("python-typing-extensions"
  48. ,python-typing-extensions)))
  49. (home-page "http://www.mypy-lang.org/")
  50. (synopsis "Optional static typing for Python")
  51. (description "Optional static typing for Python")
  52. (license #f)))
  53. python-mypy-extensions
  54. python-mypy