grammalecte: 0.5.18 -> 0.6.1

This commit is contained in:
Alexandre Peyroux 2018-01-10 19:31:33 +01:00
parent 80cb0c39de
commit afb7129e6b
No known key found for this signature in database
GPG Key ID: 725D7864B5297586

View File

@ -7,23 +7,19 @@
buildPythonPackage rec {
pname = "grammalecte";
version = "0.5.18";
version = "0.6.1";
name = "${pname}-${version}";
src = fetchurl {
url = "http://www.dicollecte.org/grammalecte/zip/Grammalecte-fr-v${version}.zip";
sha256 = "0izfsqsj8w4awhmwmn4x8wwpqsmqbnfvfafzk93i6yj0l3fn3i97";
sha256 = "0y2ck6pkd2p3cbjlxxvz3x5rnbg3ghfx97n13302rnab66cy4zkh";
};
propagatedBuildInputs = [ bottle ];
preBuild = "cd ..";
postInstall = ''
mkdir $out/bin
cp $out/cli.py $out/bin/gramalecte
cp $out/server.py $out/bin/gramalected
chmod a+rx $out/bin/gramalecte
chmod a+rx $out/bin/gramalected
rm $out/bin/bottle.py
'';
disabled = !isPy3k;