git.iko.soy/typeable/nixpkgs
on master help sign in
cde: update expression

The old Github repository (pgbovine/CDE) was deleted; usnistgov/corr-CDE is an alternative fork.

commit682d96df88cfb6230be95cd00a241a61987c7ed8 authorAndersonTorres <torres.anderson.85@protonmail.com> dateSat 31 Oct 2020, 21:44 (6 years ago) parent4e57249
1 file changed+13−10
pkgs/tools/package-management/cde/default.nix+13−10
pkgs/tools/package-management/cde/default.nix+13−10
@@ -5,10 +5,10 @@ stdenv.mkDerivation rec {
55 version = "0.1";
66
77 src = fetchFromGitHub {
8− owner = "pgbovine";
9− repo = "CDE";
10− sha256 = "0raiz7pczkbnzxpg7g59v7gdp1ipkwgms2vh3431snw1va1gjzmk";
8+ owner = "usnistgov";
9+ repo = "corr-CDE";
1110 rev = "v${version}";
11+ sha256 = "sha256-s375gtqBWx0GGXALXR+fN4bb3tmpvPNu/3bNz+75UWU=";
1212 };
1313
1414 # The build is small, so there should be no problem
@@ -18,19 +18,22 @@ stdenv.mkDerivation rec {
1818 preferLocalBuild = true;
1919
2020 patchBuild = ''
21− sed '/install/d' $src/Makefile > $src/Makefile
21+ sed -i -e '/install/d' $src/Makefile
2222 '';
23−
23+
24+ preBuild = ''
25+ patchShebangs .
26+ '';
27+
2428 installPhase = ''
25− mkdir -p $out/bin
26− cp cde $out/bin
27− cp cde-exec $out/bin
29+ install -d $out/bin
30+ install -t $out/bin cde cde-exec
2831 '';
2932
3033 meta = with stdenv.lib; {
31− homepage = "https://github.com/pgbovine/CDE";
34+ homepage = "https://pg.ucsd.edu/cde/manual/";
3235 description = "A packaging tool for building portable packages";
33− license = licenses.gpl3;
36+ license = licenses.gpl3Plus;
3437 maintainers = [ maintainers.rlupton20 ];
3538 platforms = platforms.linux;
3639 # error: architecture aarch64 is not supported by strace