Commit 536fb073 authored by Sigmanificient's avatar Sigmanificient
Browse files

lxde.lxmenu-data: change upstream source

parent b9ba33fe
Loading
Loading
Loading
Loading
+17 −7
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchurl,
  fetchFromGitHub,
  autoreconfHook,
  intltool,
  pkg-config,
  glib,
}:

stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
  pname = "lxmenu-data";
  version = "0.1.5";

  src = fetchurl {
    url = "mirror://sourceforge/lxde/${pname}-${version}.tar.xz";
    sha256 = "9fe3218d2ef50b91190162f4f923d6524c364849f87bcda8b4ed8eb59b80bab8";
  src = fetchFromGitHub {
    owner = "lxde";
    repo = "lxmenu-data";
    tag = finalAttrs.version;
    hash = "sha256-gWuhE6U33gAzlp21PGZ9qzC3bwi1nXO+WNMNj5xB6SE=";
  };

  nativeBuildInputs = [ intltool ];
  nativeBuildInputs = [
    autoreconfHook
    intltool
    pkg-config
    glib
  ];

  meta = {
    homepage = "https://lxde.org/";
@@ -22,4 +32,4 @@ stdenv.mkDerivation rec {
    description = "Freedesktop.org desktop menus for LXDE";
    platforms = lib.platforms.linux;
  };
}
})