1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

bgs: switch to fetchFromGitHub

This commit is contained in:
Felix Buehler 2021-09-19 22:59:57 +02:00
parent 4ff280efd7
commit 432653874c

View file

@ -1,13 +1,15 @@
{lib, stdenv, fetchurl, pkg-config, libX11, libXinerama, imlib2}:
{ lib, stdenv, fetchFromGitHub, pkg-config, libX11, libXinerama, imlib2 }:
stdenv.mkDerivation rec {
pname = "bgs";
version = "0.8";
src = fetchurl {
url = "https://github.com/Gottox/bgs/archive/v${version}.tar.gz";
sha256 = "1rw9ingkkpvvr2dixx126ziim67a54r8k49918h1mbph0fjj08n5";
src = fetchFromGitHub {
owner = "Gottox";
repo = "bgs";
rev = "v${version}";
sha256 = "V8GP+xLSiCvaYZt8Bi3/3KlTBaGnMYQUeNCHwH6Ejzo=";
};
nativeBuildInputs = [ pkg-config ];