File tree 2 files changed +38
-0
lines changed
development/python-modules/grammalecte
2 files changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ { lib
2
+ , buildPythonPackage
3
+ , fetchurl
4
+ , bottle
5
+ , isPy3k
6
+ } :
7
+
8
+ buildPythonPackage rec {
9
+ pname = "grammalecte" ;
10
+ version = "0.5.17" ;
11
+ name = "${ pname } -${ version } " ;
12
+
13
+ src = fetchurl {
14
+ url = "http://www.dicollecte.org/grammalecte/oxt/Grammalecte-fr-v${ version } .zip" ;
15
+ sha256 = "0ccvj8p8bwvrj8bp370dzjs16pwm755a7364lvk8bp4505n7g0b6" ;
16
+ } ;
17
+
18
+ propagatedBuildInputs = [ bottle ] ;
19
+
20
+ preBuild = "cd .." ;
21
+ postInstall = ''
22
+ mkdir $out/bin
23
+ cp $out/cli.py $out/bin/gramalecte
24
+ cp $out/server.py $out/bin/gramalected
25
+ chmod a+rx $out/bin/gramalecte
26
+ chmod a+rx $out/bin/gramalected
27
+ '' ;
28
+
29
+ disabled = ! isPy3k ;
30
+
31
+ meta = {
32
+ description = "Grammalecte is an open source grammar checker for the French language" ;
33
+ homepage = "https://dicollecte.org/grammalecte/" ;
34
+ license = with lib . licenses ; [ gpl3 ] ;
35
+ maintainers = with lib . maintainers ; [ apeyroux ] ;
36
+ } ;
37
+ }
Original file line number Diff line number Diff line change @@ -11821,6 +11821,7 @@ in {
11821
11821
};
11822
11822
};
11823
11823
11824
+ grammalecte = callPackage ../development/python-modules/grammalecte { };
11824
11825
11825
11826
greenlet = buildPythonPackage rec {
11826
11827
name = "greenlet-${version}";
You can’t perform that action at this time.
0 commit comments