3
0
Fork 0
forked from mirrors/nixpkgs

julius: use SRI hash format

This commit is contained in:
AndersonTorres 2022-06-09 23:09:34 -03:00
parent 0036078a21
commit e28fc76d2c

View file

@ -1,4 +1,11 @@
{ lib, stdenv, fetchFromGitHub, cmake, SDL2, SDL2_mixer, libpng }: { lib
, stdenv
, fetchFromGitHub
, SDL2
, SDL2_mixer
, cmake
, libpng
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "julius"; pname = "julius";
@ -8,18 +15,18 @@ stdenv.mkDerivation rec {
owner = "bvschaik"; owner = "bvschaik";
repo = "julius"; repo = "julius";
rev = "v${version}"; rev = "v${version}";
sha256 = "0w7kmgz9ya0ck9cxhsyralarg7y6ydx4plmh33r4mkxkamlr7493"; hash = "sha256-I5GTaVWzz0ryGLDSS3rzxp+XFVXZa9hZmgwon/6r83A=";
}; };
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];
buildInputs = [ SDL2 SDL2_mixer libpng ]; buildInputs = [ SDL2 SDL2_mixer libpng ];
meta = with lib; { meta = with lib; {
description = "An open source re-implementation of Caesar III";
homepage = "https://github.com/bvschaik/julius"; homepage = "https://github.com/bvschaik/julius";
description = "An open source re-implementation of Caesar III";
license = licenses.agpl3; license = licenses.agpl3;
maintainers = with maintainers; [ Thra11 ];
platforms = platforms.all; platforms = platforms.all;
broken = stdenv.isDarwin; broken = stdenv.isDarwin;
maintainers = with maintainers; [ Thra11 ];
}; };
} }