Merge pull request #33714 from apeyroux/up-grmmalecte

grammalecte: 0.5.18 -> 0.6.1
This commit is contained in:
adisbladis 2018-01-12 13:15:46 +08:00 committed by GitHub
commit dd85adf814
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;