grammalecte: 0.5.18 -> 0.6.1
This commit is contained in:
parent
80cb0c39de
commit
afb7129e6b
1 changed files with 3 additions and 7 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue