forked from c3d2/nix-config
18 lines
481 B
Nix
18 lines
481 B
Nix
{ lib, stdenv, fetchurl, cmake, libsodium, }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "SimpleYggGen-CPP";
|
|
version = "5.1";
|
|
src = fetchurl {
|
|
url = "https://notabug.org/acetone/${pname}/archive/${version}.tar.gz";
|
|
hash = "sha256-z5Wtmw2vq3qRjNSOJ0xlxdmB5g2Oa+UQn1Awt7+R/XY=";
|
|
};
|
|
nativeBuildInputs = [ cmake ];
|
|
buildInputs = [ libsodium ];
|
|
installPhase = ''
|
|
find .
|
|
install -D src/sygcpp $out/bin/$pname
|
|
'';
|
|
meta.maintainers = [ lib.maintainers.ehmry ];
|
|
}
|