mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 17:53:37 +00:00
02297beade
Lots of packages are missing versions in their name. This adds them where appropriate. These were found with this command: $ nix-env -qa -f. | grep -v '\-[0-9A-Za-z.-_+]*$' | grep -v '^hook$' See issue #41007.
28 lines
579 B
Nix
28 lines
579 B
Nix
{ stdenv, fetchFromGitHub, clang }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "blocksruntime-20140624";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mackyle";
|
|
repo = "blocksruntime";
|
|
rev = "b5c5274daf1e0e46ecc9ad8f6f69889bce0a0a5d";
|
|
sha256 = "0ic4lagagkylcvwgf10mg0s1i57h4i25ds2fzvms22xj4zwzk1sd";
|
|
};
|
|
|
|
buildInputs = [ clang ];
|
|
|
|
configurePhase = ''
|
|
export CC=clang
|
|
export CXX=clang++
|
|
'';
|
|
|
|
buildPhase = "./buildlib";
|
|
|
|
checkPhase = "./checktests";
|
|
|
|
doCheck = false; # hasdescriptor.c test fails, hrm.
|
|
|
|
installPhase = ''prefix="/" DESTDIR=$out ./installlib'';
|
|
}
|