nixpkgs/pkgs/misc/urbit/default.nix

32 lines
769 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, curl, git, gmp, libsigsegv, meson, ncurses, ninja
2021-01-17 05:30:45 +03:00
, openssl, pkg-config, re2c, zlib
2018-08-05 21:03:55 +03:00
}:
stdenv.mkDerivation rec {
pname = "urbit";
2019-02-20 12:35:49 +03:00
version = "0.7.3";
src = fetchFromGitHub {
owner = "urbit";
repo = "urbit";
2019-02-20 12:35:49 +03:00
rev = "v${version}";
sha256 = "192843pjzh8z55fd0x70m3l1vncmixljia3nphgn7j7x4976xkp2";
fetchSubmodules = true;
};
2021-01-17 05:30:45 +03:00
nativeBuildInputs = [ pkg-config ninja meson ];
2018-08-05 21:03:55 +03:00
buildInputs = [ curl git gmp libsigsegv ncurses openssl re2c zlib ];
2016-09-02 19:04:41 +03:00
postPatch = ''
patchShebangs .
'';
meta = with lib; {
description = "An operating function";
homepage = "https://urbit.org";
license = licenses.mit;
maintainers = with maintainers; [ mudri ];
platforms = with platforms; linux;
};
}