mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-20 02:55:39 +00:00
bgs: switch to fetchFromGitHub
This commit is contained in:
parent
4ff280efd7
commit
432653874c
@ -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 ];
|
||||
|
Loading…
Reference in New Issue
Block a user