3
0
Fork 0
forked from mirrors/nixpkgs

cfr: Update to version 0_101 and remove platform restrictions

cfr is written in Java, so it should work in every platform supported
by jre. This fix makes cfr usable in Darwin.
This commit is contained in:
Ossi Herrala 2015-05-20 09:02:13 +03:00
parent cf94a678f3
commit d2f21ab3fc

View file

@ -1,11 +1,11 @@
{ stdenv, fetchurl, jre }: { stdenv, fetchurl, jre }:
let version = "0_100"; in let version = "0_101"; in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "cfr-${version}"; name = "cfr-${version}";
src = fetchurl { src = fetchurl {
sha256 = "0q5kh5qdksykz339p55jz0q5cjqvxdzv3a7r4kkijgbfjm1ldr5f"; sha256 = "0zwl3whypdm2qrw3hwaqjnifkb4wcdn8fx9scrjkli54bhr6dqch";
url = "http://www.benf.org/other/cfr/cfr_${version}.jar"; url = "http://www.benf.org/other/cfr/cfr_${version}.jar";
}; };
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
''; '';
homepage = http://www.benf.org/other/cfr/; homepage = http://www.benf.org/other/cfr/;
license = with licenses; mit; license = with licenses; mit;
platforms = with platforms; linux; platforms = with platforms; all;
maintainers = with maintainers; [ nckx ]; maintainers = with maintainers; [ nckx ];
}; };