diff options
author | Felix Buehler <account@buehler.rocks> | 2021-09-19 23:00:12 +0200 |
---|---|---|
committer | Felix Buehler <account@buehler.rocks> | 2021-10-24 15:12:35 +0200 |
commit | 54ecf6b486e8829f9cc15fef8da47a540f08166c (patch) | |
tree | 51c7fdb6d76bc78e80bf2abbd4fa3d9fc72e9981 | |
parent | 432653874ca68c7f6579a1d758e92741753c0252 (diff) |
wmutils-core: switch to fetchFromGitHub
-rw-r--r-- | pkgs/tools/X11/wmutils-core/default.nix | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/tools/X11/wmutils-core/default.nix b/pkgs/tools/X11/wmutils-core/default.nix index 9250a10064ffe..01c84c869aa51 100644 --- a/pkgs/tools/X11/wmutils-core/default.nix +++ b/pkgs/tools/X11/wmutils-core/default.nix @@ -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 ]; |