mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
32 lines
769 B
Nix
32 lines
769 B
Nix
{ lib, stdenv, fetchFromGitHub, curl, git, gmp, libsigsegv, meson, ncurses, ninja
|
|
, openssl, pkg-config, re2c, zlib
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "urbit";
|
|
version = "0.7.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "urbit";
|
|
repo = "urbit";
|
|
rev = "v${version}";
|
|
sha256 = "192843pjzh8z55fd0x70m3l1vncmixljia3nphgn7j7x4976xkp2";
|
|
fetchSubmodules = true;
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ninja meson ];
|
|
buildInputs = [ curl git gmp libsigsegv ncurses openssl re2c zlib ];
|
|
|
|
postPatch = ''
|
|
patchShebangs .
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "An operating function";
|
|
homepage = "https://urbit.org";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ mudri ];
|
|
platforms = with platforms; linux;
|
|
};
|
|
}
|