Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0007c0f3026f
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 6123e8d85421
Choose a head ref
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Nov 1, 2020

  1. cde: update expression

    The old Github repository (pgbovine/CDE) was deleted; usnistgov/corr-CDE is an
    alternative fork.
    AndersonTorres committed Nov 1, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    prusnak Pavol Rusnak
    Copy the full SHA
    682d96d View commit details
  2. Merge pull request #102299 from AndersonTorres/update-cde

    cde: update expression
    AndersonTorres authored Nov 1, 2020
    Copy the full SHA
    6123e8d View commit details
Showing with 13 additions and 10 deletions.
  1. +13 −10 pkgs/tools/package-management/cde/default.nix
23 changes: 13 additions & 10 deletions pkgs/tools/package-management/cde/default.nix
Original file line number Diff line number Diff line change
@@ -5,10 +5,10 @@ stdenv.mkDerivation rec {
version = "0.1";

src = fetchFromGitHub {
owner = "pgbovine";
repo = "CDE";
sha256 = "0raiz7pczkbnzxpg7g59v7gdp1ipkwgms2vh3431snw1va1gjzmk";
owner = "usnistgov";
repo = "corr-CDE";
rev = "v${version}";
sha256 = "sha256-s375gtqBWx0GGXALXR+fN4bb3tmpvPNu/3bNz+75UWU=";
};

# The build is small, so there should be no problem
@@ -18,19 +18,22 @@ stdenv.mkDerivation rec {
preferLocalBuild = true;

patchBuild = ''
sed '/install/d' $src/Makefile > $src/Makefile
sed -i -e '/install/d' $src/Makefile
'';


preBuild = ''
patchShebangs .
'';

installPhase = ''
mkdir -p $out/bin
cp cde $out/bin
cp cde-exec $out/bin
install -d $out/bin
install -t $out/bin cde cde-exec
'';

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";
license = licenses.gpl3;
license = licenses.gpl3Plus;
maintainers = [ maintainers.rlupton20 ];
platforms = platforms.linux;
# error: architecture aarch64 is not supported by strace