kssd: switch to fetchFromGitHub

This commit is contained in:
Felix Buehler 2021-12-13 15:35:09 +01:00
parent 2f4a86e7d7
commit 865eee2b26

View file

@ -1,12 +1,14 @@
{ lib, stdenv, fetchurl, zlib, automake, autoconf, libtool }:
{ lib, stdenv, fetchFromGitHub, zlib, automake, autoconf, libtool }:
stdenv.mkDerivation rec {
pname = "kssd";
version = "1.1";
src = fetchurl {
url = "https://github.com/yhg926/public_${pname}/archive/v${version}.tar.gz";
sha256 = "1x3v31cxnww4w5zn15vy0bwk53llsa0f97ma6qbw89h152d2mx5x";
src = fetchFromGitHub {
owner = "yhg926";
repo = "public_kssd";
rev = "v${version}";
sha256 = "sha256-8jzYqo9LXF66pQ1EIusm+gba2VbTYpJz2K3NVlA3QxY=";
};
buildInputs = [ zlib automake autoconf libtool ];