git-cinnabar: 0.5.4 -> 0.5.6
Also add missing installPhase hooks, and clarify license. I'm assuming GPL-2.0-only, because it doesn't seem to be specified, and the helper links with git, which is -only.
This commit is contained in:
parent
279e66e106
commit
6c4d3aa6f7
@ -8,13 +8,13 @@ in
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "git-cinnabar";
|
pname = "git-cinnabar";
|
||||||
version = "0.5.4";
|
version = "0.5.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "glandium";
|
owner = "glandium";
|
||||||
repo = "git-cinnabar";
|
repo = "git-cinnabar";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1cjn2cc6mj4m736wxab9s6qx83p5n5ha8cr3x84s9ra6rxs8d7pi";
|
sha256 = "1wbp4xqpkaqhhkjw8rbbsagwiciqffacqqbm4j49q41mlk371ai3";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -27,6 +27,8 @@ stdenv.mkDerivation rec {
|
|||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
mkdir -p $out/bin $out/libexec
|
mkdir -p $out/bin $out/libexec
|
||||||
install git-cinnabar-helper $out/bin
|
install git-cinnabar-helper $out/bin
|
||||||
install git-cinnabar git-remote-hg $out/libexec
|
install git-cinnabar git-remote-hg $out/libexec
|
||||||
@ -38,12 +40,14 @@ stdenv.mkDerivation rec {
|
|||||||
--prefix GIT_CINNABAR_EXPERIMENTS , python3 \
|
--prefix GIT_CINNABAR_EXPERIMENTS , python3 \
|
||||||
--set PYTHONPATH ${mercurial}/${python3.sitePackages}
|
--set PYTHONPATH ${mercurial}/${python3.sitePackages}
|
||||||
done
|
done
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/glandium/git-cinnabar";
|
homepage = "https://github.com/glandium/git-cinnabar";
|
||||||
description = "git remote helper to interact with mercurial repositories";
|
description = "git remote helper to interact with mercurial repositories";
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2Only;
|
||||||
maintainers = with maintainers; [ qyliss ];
|
maintainers = with maintainers; [ qyliss ];
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user