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:
parent
4cf304289f
commit
6a8737b822
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue