nix-config/overlay/simpleygggen.nix

22 lines
475 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, cmake, libsodium, }:
stdenv.mkDerivation rec {
pname = "SimpleYggGen-CPP";
version = "5.1";
2022-06-12 17:26:32 +02:00
src = fetchurl {
url = "https://notabug.org/acetone/${pname}/archive/${version}.tar.gz";
hash = "sha256-z5Wtmw2vq3qRjNSOJ0xlxdmB5g2Oa+UQn1Awt7+R/XY=";
};
2022-06-12 17:26:32 +02:00
nativeBuildInputs = [ cmake ];
2022-06-12 17:26:32 +02:00
buildInputs = [ libsodium ];
2022-06-12 17:26:32 +02:00
installPhase = ''
install -D src/sygcpp $out/bin/$pname
'';
2022-06-12 17:26:32 +02:00
meta.maintainers = [ lib.maintainers.ehmry ];
}