mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-17 03:58:22 +00:00
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;
|
||||
stdenv.mkDerivation rec {
|
||||
@ -6,9 +6,11 @@ stdenv.mkDerivation rec {
|
||||
pname = "lolcode";
|
||||
version = "0.11.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/justinmeza/lci/archive/v${version}.tar.gz";
|
||||
sha256 = "1li7ikcrs7wqah7gqkirg0k61n6pm12w7pydin966x1sdn9na46b";
|
||||
src = fetchFromGitHub {
|
||||
owner = "justinmeza";
|
||||
repo = "lci";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-VMBW3/sw+1kI6iuOckSPU1TIeY6QORcSfFLFkRYw3Gs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config cmake doxygen ];
|
||||
|
Loading…
Reference in New Issue
Block a user