wmutils-core: switch to fetchFromGitHub

This commit is contained in:
Felix Buehler 2021-09-19 23:00:12 +02:00
parent 432653874c
commit 54ecf6b486

View file

@ -1,12 +1,14 @@
{ lib, stdenv, fetchurl, libxcb, xcbutil, xcb-util-cursor }:
{ lib, stdenv, fetchFromGitHub, libxcb, xcbutil, xcb-util-cursor }:
stdenv.mkDerivation rec {
pname = "wmutils-core";
version = "1.5";
src = fetchurl {
url = "https://github.com/wmutils/core/archive/v${version}.tar.gz";
sha256 = "0wk39aq2lrnc0wjs8pv3cigw3lwy2qzaw0v61bwknd5wabm25bvj";
src = fetchFromGitHub {
owner = "wmutils";
repo = "core";
rev = "v${version}";
sha256 = "XPVH7vXlpmUsvNyGKMxLSZnWLnH/J5nGkXizcVqDwzM=";
};
buildInputs = [ libxcb xcbutil xcb-util-cursor ];