2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, imake, bison, flex, gccmakedep
|
2020-04-24 23:36:52 +00:00
|
|
|
, xorgproto, libXau, libXt, libXext, libXaw, libXpm, xorgcffiles }:
|
|
|
|
|
2021-08-05 21:33:18 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "nas";
|
|
|
|
version = "1.9.4";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/${pname}/${pname}-${version}.src.tar.gz";
|
|
|
|
sha256 = "17dk0ckm6mp1ajc0cd6bwyi638ynw2f6bhbn7gynrs0wfmiyldng";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ imake bison flex gccmakedep ];
|
|
|
|
|
|
|
|
buildInputs = [ xorgproto libXau libXt libXext libXaw libXpm ];
|
|
|
|
|
|
|
|
buildFlags = [ "WORLDOPTS=" "World" ];
|
|
|
|
|
|
|
|
installFlags = [ "LDLIBS=-lfl" "DESTDIR=${placeholder "out"}" ];
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
mv $out/${xorgcffiles}/* $out
|
|
|
|
rm -r $out/nix
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A network transparent, client/server audio transport system";
|
|
|
|
homepage = "http://radscan.com/nas.html";
|
|
|
|
license = licenses.mit;
|
2021-05-20 23:08:51 +00:00
|
|
|
maintainers = [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|