mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
editorconfig-core-c: switch to fetchFromGitHub
This commit is contained in:
parent
7e49720ea1
commit
62fcc3b0ae
@ -1,13 +1,14 @@
|
||||
{ lib, stdenv, fetchgit, cmake, pcre, doxygen }:
|
||||
{ lib, stdenv, fetchFromGitHub, cmake, pcre, doxygen }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "editorconfig-core-c";
|
||||
version = "0.12.1";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://github.com/editorconfig/editorconfig-core-c.git";
|
||||
src = fetchFromGitHub {
|
||||
owner = "editorconfig";
|
||||
repo = "editorconfig-core-c";
|
||||
rev = "v${version}";
|
||||
sha256 = "0awpb63ci85kal3pnlj2b54bay8igj1rbc13d8gqkvidlb51nnx4";
|
||||
sha256 = "sha256-pFsbyqIt7okfaiOwlYN8EXm1SFlCUnsHVbOgyIZZlys=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user