libcs50: remove package

Also available in nixpkgs.
This commit is contained in:
Gabriel Arazas 2023-07-12 15:17:57 +08:00
parent a0e92ec137
commit 56e656aae3
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC
2 changed files with 0 additions and 29 deletions

View File

@ -47,7 +47,6 @@ let
hash = "sha256-3lH7Vi9M8k+GSrCpvruRpLrIpMoOakKbcJlaAc/FK+U=";
};
});
libcs50 = callPackage ./libcs50.nix { };
lwp = callPackage ./lwp { };
moac = callPackage ./moac.nix { };
mopidy-beets = callPackage ./mopidy-beets.nix { };

View File

@ -1,28 +0,0 @@
{ stdenv, lib, fetchFromGitHub, gnused }:
stdenv.mkDerivation rec {
pname = "libcs50";
version = "11.0.1";
src = fetchFromGitHub {
owner = "cs50";
repo = pname;
rev = "v${version}";
sha256 = "sha256-/CLPhZecjbJMFcR5HM+Z7XSzpyEyjAN1zjgaXXmGKVc=";
};
makeFlags = [ "DESTDIR=$(out)" ];
configurePhase = ''
# Don't use ldconfig.
${gnused}/bin/sed -i -e '60,62d' Makefile
'';
meta = with lib; {
homepage = "https://github.com/cs50/libcs50";
description = "CS50 C library used for the problem sets";
license = licenses.mit;
platforms = platforms.all;
};
}