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:
Alyssa Ross 2021-02-07 20:00:07 +00:00
parent 279e66e106
commit 6c4d3aa6f7
No known key found for this signature in database
GPG Key ID: F9DBED4859B271C0

View File

@ -8,13 +8,13 @@ in
stdenv.mkDerivation rec {
pname = "git-cinnabar";
version = "0.5.4";
version = "0.5.6";
src = fetchFromGitHub {
owner = "glandium";
repo = "git-cinnabar";
rev = version;
sha256 = "1cjn2cc6mj4m736wxab9s6qx83p5n5ha8cr3x84s9ra6rxs8d7pi";
sha256 = "1wbp4xqpkaqhhkjw8rbbsagwiciqffacqqbm4j49q41mlk371ai3";
fetchSubmodules = true;
};
@ -27,6 +27,8 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
installPhase = ''
runHook preInstall
mkdir -p $out/bin $out/libexec
install git-cinnabar-helper $out/bin
install git-cinnabar git-remote-hg $out/libexec
@ -38,12 +40,14 @@ stdenv.mkDerivation rec {
--prefix GIT_CINNABAR_EXPERIMENTS , python3 \
--set PYTHONPATH ${mercurial}/${python3.sitePackages}
done
runHook postInstall
'';
meta = with lib; {
homepage = "https://github.com/glandium/git-cinnabar";
description = "git remote helper to interact with mercurial repositories";
license = licenses.gpl2;
license = licenses.gpl2Only;
maintainers = with maintainers; [ qyliss ];
platforms = platforms.all;
};