Unverified Commit b456cc1d authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

rewaita: 1.0.8 ->1.1.0; python3Packages.fortune: init at 1.1.2 (#474571)

parents 4ebc5ca0 a4e89db4
Loading
Loading
Loading
Loading
+9 −4
Original line number Diff line number Diff line
@@ -12,11 +12,12 @@
  appstream-glib,
  blueprint-compiler,
  libadwaita,
  libportal,
  libportal-gtk4,
  gtksourceview5,
  nix-update-script,
}:
let
  version = "1.0.8";
  version = "1.1.0";
in
python3Packages.buildPythonApplication {
  pname = "rewaita";
@@ -27,7 +28,7 @@ python3Packages.buildPythonApplication {
    owner = "SwordPuffin";
    repo = "Rewaita";
    tag = "v${version}";
    hash = "sha256-T1MrSg3DO6U/ztX4LYB1Uhpne+7xAfr8+INV5CyS0eE=";
    hash = "sha256-B3CxtGKLvlGORae1b7vMDFbvNntVO24yrzbiHzOP28k=";
  };

  postPatch = ''
@@ -51,12 +52,16 @@ python3Packages.buildPythonApplication {

  dependencies = with python3Packages; [
    pygobject3
    pillow
    numpy
    fortune
  ];

  buildInputs = [
    libadwaita
    gtk4
    libportal
    libportal-gtk4
    gtksourceview5
  ];

  dontWrapGApps = true;
+32 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitea,
  setuptools,
}:
let
  version = "1.1.2";
in
buildPythonPackage {
  pname = "fortune";
  inherit version;
  pyproject = true;

  src = fetchFromGitea {
    domain = "codeberg.org";
    owner = "jamesansley";
    repo = "fortune";
    tag = "v${version}";
    hash = "sha256-XEWO1B+o0p7mpHprvbdBgfSQrqPuUTaotulcP3FS/Mg=";
  };

  build-system = [ setuptools ];

  meta = {
    description = "A rewrite of fortune in python";
    mainProgram = "fortune";
    homepage = "https://codeberg.org/jamesansley/fortune";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ arthsmn ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -5747,6 +5747,8 @@ self: super: with self; {
  fortiosapi = callPackage ../development/python-modules/fortiosapi { };
  fortune = callPackage ../development/python-modules/fortune { };
  foundationdb = callPackage ../development/python-modules/foundationdb {
    inherit (pkgs) foundationdb;
  };