You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

default.nix 973B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. { stdenv
  2. , fetchFromGitHub
  3. , glib
  4. , gtk3
  5. , hicolor-icon-theme
  6. , json-glib
  7. , libgee
  8. , meson
  9. , ninja
  10. , pkgconfig
  11. , pantheon
  12. , python3
  13. , wrapGAppsHook
  14. }:
  15. stdenv.mkDerivation rec {
  16. pname = "timetable";
  17. version = "1.0.9";
  18. src = fetchFromGitHub {
  19. owner = "lainsce";
  20. repo = pname;
  21. rev = version;
  22. sha256 = "1n02y7vpi4lb888iic06xifc86n2xirk50s1ssf84vlc5md1kq9f";
  23. };
  24. nativeBuildInputs = [
  25. meson
  26. ninja
  27. pkgconfig
  28. pantheon.vala
  29. python3
  30. wrapGAppsHook
  31. ];
  32. buildInputs = [
  33. glib
  34. gtk3
  35. hicolor-icon-theme
  36. json-glib
  37. libgee
  38. pantheon.granite
  39. ];
  40. postPatch = ''
  41. chmod +x meson/post_install.py
  42. patchShebangs meson/post_install.py
  43. '';
  44. meta = with stdenv.lib; {
  45. description = "Plot out your own timetable for the week and organize it";
  46. homepage = "https://github.com/lainsce/timetable";
  47. maintainers = [ maintainers.kjuvi ] ++ pantheon.maintainers;
  48. license = licenses.gpl2Plus;
  49. };
  50. }