cockatrice: 2017-08-31 -> 2019-08-31
- formatting - add wrapQtAppsHook - use fetchFromGitHub instead of fetchurl - don't construct name manually - add homepage to meta - remove repositories.get from meta - use mkDerivation instead of stdenv.mkDerivation - add qtwebsockets dependency
This commit is contained in:
parent
769928e213
commit
e801159c66
|
@ -1,25 +1,29 @@
|
||||||
{ stdenv, fetchurl, cmake, qtbase, qtmultimedia, protobuf, qttools
|
{ stdenv, fetchFromGitHub, mkDerivation, cmake, protobuf
|
||||||
|
, qtbase, qtmultimedia, qttools, qtwebsockets, wrapQtAppsHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
mkDerivation rec {
|
||||||
name = "${pname}-unstable-${version}";
|
pname = "cockatrice";
|
||||||
pname = "cockatrice";
|
version = "2019-08-31-Release-2.7.2";
|
||||||
version = "2017-01-20";
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/Cockatrice/Cockatrice/archive/${version}-Release.tar.gz";
|
owner = "Cockatrice";
|
||||||
sha256 = "1gbcn8vffqdagidlamx670jxymhzaw28r4c6aqg3pq0s6by1l65f";
|
repo = "Cockatrice";
|
||||||
};
|
rev = "${version}";
|
||||||
|
sha256 = "17nfz4z6zfkiwcrq1rpm8bc7zh4gvcmb3fis9gdjjbji20dvcfxp";
|
||||||
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
cmake qtbase qtmultimedia protobuf qttools
|
cmake qtbase qtmultimedia protobuf qttools qtwebsockets
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = {
|
nativeBuildInputs = [ wrapQtAppsHook ];
|
||||||
repositories.git = git://github.com/Cockatrice/Cockatrice.git;
|
|
||||||
description = "A cross-platform virtual tabletop for multiplayer card games";
|
meta = {
|
||||||
license = stdenv.lib.licenses.gpl2;
|
homepage = "https://github.com/Cockatrice/Cockatrice";
|
||||||
maintainers = with stdenv.lib.maintainers; [ spencerjanssen ];
|
description = "A cross-platform virtual tabletop for multiplayer card games";
|
||||||
platforms = with stdenv.lib.platforms; linux;
|
license = stdenv.lib.licenses.gpl2;
|
||||||
};
|
maintainers = with stdenv.lib.maintainers; [ spencerjanssen ];
|
||||||
|
platforms = with stdenv.lib.platforms; linux;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue