lolcode: switch to fetchFromGitHub
This commit is contained in:
parent
4a4e3751fa
commit
1d107641d1
|
@ -1,4 +1,4 @@
|
||||||
{ lib, stdenv, fetchurl, pkg-config, doxygen, cmake, readline }:
|
{ lib, stdenv, fetchFromGitHub, pkg-config, doxygen, cmake, readline }:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -6,9 +6,11 @@ stdenv.mkDerivation rec {
|
||||||
pname = "lolcode";
|
pname = "lolcode";
|
||||||
version = "0.11.2";
|
version = "0.11.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/justinmeza/lci/archive/v${version}.tar.gz";
|
owner = "justinmeza";
|
||||||
sha256 = "1li7ikcrs7wqah7gqkirg0k61n6pm12w7pydin966x1sdn9na46b";
|
repo = "lci";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256-VMBW3/sw+1kI6iuOckSPU1TIeY6QORcSfFLFkRYw3Gs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config cmake doxygen ];
|
nativeBuildInputs = [ pkg-config cmake doxygen ];
|
||||||
|
|
Loading…
Reference in a new issue