cde: update expression

The old Github repository (pgbovine/CDE) was deleted; usnistgov/corr-CDE is an
alternative fork.
This commit is contained in:
AndersonTorres 2020-10-31 21:44:05 -03:00
parent 4e57249fc3
commit 682d96df88

View file

@ -5,10 +5,10 @@ stdenv.mkDerivation rec {
version = "0.1"; version = "0.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "pgbovine"; owner = "usnistgov";
repo = "CDE"; repo = "corr-CDE";
sha256 = "0raiz7pczkbnzxpg7g59v7gdp1ipkwgms2vh3431snw1va1gjzmk";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-s375gtqBWx0GGXALXR+fN4bb3tmpvPNu/3bNz+75UWU=";
}; };
# The build is small, so there should be no problem # The build is small, so there should be no problem
@ -18,19 +18,22 @@ stdenv.mkDerivation rec {
preferLocalBuild = true; preferLocalBuild = true;
patchBuild = '' patchBuild = ''
sed '/install/d' $src/Makefile > $src/Makefile sed -i -e '/install/d' $src/Makefile
''; '';
preBuild = ''
patchShebangs .
'';
installPhase = '' installPhase = ''
mkdir -p $out/bin install -d $out/bin
cp cde $out/bin install -t $out/bin cde cde-exec
cp cde-exec $out/bin
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = "https://github.com/pgbovine/CDE"; homepage = "https://pg.ucsd.edu/cde/manual/";
description = "A packaging tool for building portable packages"; description = "A packaging tool for building portable packages";
license = licenses.gpl3; license = licenses.gpl3Plus;
maintainers = [ maintainers.rlupton20 ]; maintainers = [ maintainers.rlupton20 ];
platforms = platforms.linux; platforms = platforms.linux;
# error: architecture aarch64 is not supported by strace # error: architecture aarch64 is not supported by strace