mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
grammalecte: 0.5.18 -> 0.6.1
This commit is contained in:
parent
80cb0c39de
commit
afb7129e6b
@ -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 New Issue
Block a user