Merge pull request #63497 from tadeokondrak/oppai-ng/init/3.2.2

oppai-ng: init at 3.2.2
This commit is contained in:
worldofpeace 2019-07-12 17:55:45 -04:00 committed by GitHub
commit 3c84ac7523
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,34 @@
{ stdenv
, fetchFromGitHub
}:
stdenv.mkDerivation rec {
pname = "oppai-ng";
version = "3.2.3";
src = fetchFromGitHub {
owner = "Francesco149";
repo = pname;
rev = version;
sha256 = "1wrnpnx1yl0pdzmla4knlpcwy7baamy2wpdypnbdqxrn0zkw7kzk";
};
buildPhase = ''
./build
./libbuild
'';
installPhase = ''
install -D oppai $out/bin/oppai
install -D oppai.c $out/include/oppai.c
install -D liboppai.so $out/lib/liboppai.so
'';
meta = with stdenv.lib; {
description = "Difficulty and pp calculator for osu!";
homepage = "https://github.com/Francesco149/oppai-ng";
license = licenses.unlicense;
maintainers = with maintainers; [ tadeokondrak ];
platforms = platforms.all;
};
}

View File

@ -5088,6 +5088,8 @@ in
stdenv = clangStdenv;
};
oppai-ng = callPackage ../tools/misc/oppai-ng { };
update-resolv-conf = callPackage ../tools/networking/openvpn/update-resolv-conf.nix { };
opae = callPackage ../development/libraries/opae { };