libmowgli: switch to fetchFromGitHub
This commit is contained in:
parent
6a8737b822
commit
e1e5974551
|
@ -1,12 +1,14 @@
|
||||||
{ lib, stdenv, fetchurl }:
|
{ lib, stdenv, fetchFromGitHub }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "libmowgli";
|
pname = "libmowgli";
|
||||||
version = "2.1.3";
|
version = "2.1.3";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/atheme/libmowgli-2/archive/v${version}.tar.gz";
|
owner = "atheme";
|
||||||
sha256 = "0xx4vndmwz40pxa5gikl8z8cskpdl9a30i2i5fjncqzlp4pspymp";
|
repo = "libmowgli-2";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256-jlw6ixMoIdIjmQ86N+KN+Gez218sw894POkcCYnT0s0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue