xst: use fetchFromGitHub
This commit is contained in:
parent
88874e7650
commit
b38e33775b
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, libX11, ncurses, libXext, libXft, fontconfig }:
|
{ stdenv, fetchFromGitHub, pkgconfig, libX11, ncurses, libXext, libXft, fontconfig }:
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
|
||||||
@ -8,9 +8,11 @@ let
|
|||||||
in stdenv.mkDerivation {
|
in stdenv.mkDerivation {
|
||||||
inherit name;
|
inherit name;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/neeasade/xst/archive/v${version}.tar.gz";
|
owner = "neeasade";
|
||||||
sha256 = "19ayx1753f2s6k7f6yn256bsssm20ggffs1diakgjqwcyjcxxn7q";
|
repo = "xst";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1fh4y2w0icaij99kihl3w8j5d5b38d72afp17c81pi57f43ss6pc";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ pkgconfig libX11 ncurses libXext libXft fontconfig ];
|
buildInputs = [ pkgconfig libX11 ncurses libXext libXft fontconfig ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user