1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-04 11:32:03 +00:00

libmx: switch to fetchFromGitHub

This commit is contained in:
Felix Buehler 2022-01-03 00:48:51 +01:00
parent 4cf304289f
commit 6a8737b822

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl
{ lib, stdenv, fetchFromGitHub
, libtool, pkg-config, automake, autoconf, intltool
, glib, gobject-introspection, gtk2, gtk-doc
, clutter, clutter-gtk
@ -8,9 +8,11 @@ stdenv.mkDerivation rec {
pname = "libmx";
version = "1.4.7";
src = fetchurl {
url = "https://github.com/clutter-project/mx/archive/${version}.tar.gz";
sha256 = "8a7514ea33c1dec7251d0141e24a702e7701dc9f00348cbcf1816925b7f74dbc";
src = fetchFromGitHub {
owner = "clutter-project";
repo = "mx";
rev = version;
sha256 = "sha256-+heIPSkg3d22xsU48UOTJ9FPLXC7zLivcnabQOM9aEk=";
};
# remove the following superfluous checks