Unverified Commit c8b42429 authored by Colin's avatar Colin Committed by GitHub
Browse files

cartero: 0.2.2 -> 0.2.4 (#434071)

parents 9a90e92a 049c1e48
Loading
Loading
Loading
Loading
+21 −4
Original line number Diff line number Diff line
@@ -15,21 +15,27 @@
  libadwaita,
  gtksourceview5,
  openssl,
  python313,
  gtk4,
  shared-mime-info,
  glib,
  hicolor-icon-theme,
  pango,
}:
stdenv.mkDerivation (finalAttrs: {
  pname = "cartero";
  version = "0.2.2";
  version = "0.2.4";

  src = fetchFromGitHub {
    owner = "danirod";
    repo = "cartero";
    tag = "v${finalAttrs.version}";
    hash = "sha256-WQ1pGAIFOwXZ+cokHTBPkFrTGikqpEYxK7J5LFqoeH0=";
    hash = "sha256-l6UYsidMqTsEiabviWGAsEOFyDslpP2wIws0Yk10se4=";
  };

  cargoDeps = rustPlatform.fetchCargoVendor {
    inherit (finalAttrs) pname version src;
    hash = "sha256-vmpBZqRo3Wc7E1d/UzZWDfV96cI9WaSykdxEOTN9KvU=";
    hash = "sha256-HUwIbrWt9coPjUKRL1nnt0NurwkEGV/Z07BHySnVfQo=";
  };

  nativeBuildInputs = [
@@ -42,15 +48,26 @@ stdenv.mkDerivation (finalAttrs: {
    blueprint-compiler
    wrapGAppsHook4
    desktop-file-utils
    libxml2 # xmllint
    libxml2
    python313
    gtk4
    shared-mime-info
    glib
    hicolor-icon-theme
  ];

  buildInputs = [
    libadwaita
    gtksourceview5
    openssl
    pango
    libadwaita
  ];

  postPatch = ''
    patchShebangs --build build-aux/gen-version.py
  '';

  meta = {
    description = "Make HTTP requests and test APIs";
    longDescription = ''