Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 34 lines 1.0 kB view raw
1{ stdenv, meson, ninja, fetchFromGitHub, which, python }: 2 3stdenv.mkDerivation rec { 4 name = "ksh-${version}"; 5 version = "93v"; 6 7 src = fetchFromGitHub { 8 owner = "att"; 9 repo = "ast"; 10 rev = "b8d88244ae87857e7bbd6da230ffbbc51165df70"; 11 sha256 = "12kf14n8vz36hnsy3wp6lnyv1841p7hcq25y1d78w532dil69lx9"; 12 }; 13 14 nativeBuildInputs = [ meson ninja which python ]; 15 16 meta = with stdenv.lib; { 17 description = "KornShell Command And Programming Language"; 18 longDescription = '' 19 The KornShell language was designed and developed by David G. Korn at 20 AT&T Bell Laboratories. It is an interactive command language that 21 provides access to the UNIX system and to many other systems, on the 22 many different computers and workstations on which it is implemented. 23 ''; 24 homepage = https://github.com/att/ast; 25 license = licenses.cpl10; 26 maintainers = with maintainers; [ ]; 27 platforms = platforms.all; 28 }; 29 30 passthru = { 31 shellPath = "/bin/ksh"; 32 }; 33} 34