99 ghostscript ,
1010} :
1111
12- stdenv . mkDerivation rec {
12+ stdenv . mkDerivation ( finalAttrs : {
1313 pname = "ne" ;
1414 version = "3.3.4" ;
1515
1616 src = fetchFromGitHub {
1717 owner = "vigna" ;
1818 repo = "ne" ;
19- rev = version ;
20- sha256 = "sha256-n8PERQD9G4jmW4avQjbFofrSapyRoSbQ2k1LzVt0i1o=" ;
19+ tag = finalAttrs . version ;
20+ hash = "sha256-n8PERQD9G4jmW4avQjbFofrSapyRoSbQ2k1LzVt0i1o=" ;
2121 } ;
2222
2323 postPatch = ''
24- substituteInPlace makefile --replace "./version.pl" "perl version.pl"
25- substituteInPlace src/makefile --replace "-lcurses" "-lncurses"
24+ substituteInPlace makefile --replace-fail "./version.pl" "perl version.pl"
25+ substituteInPlace src/makefile --replace-fail "-lcurses" "-lncurses"
2626 '' ;
2727
28+ strictDeps = true ;
29+
2830 nativeBuildInputs = [
2931 texliveMedium
3032 texinfo6
@@ -35,18 +37,20 @@ stdenv.mkDerivation rec {
3537
3638 makeFlags = [ "PREFIX=${ placeholder "out" } " ] ;
3739
38- meta = with lib ; {
40+ meta = {
3941 description = "Nice editor" ;
4042 homepage = "https://ne.di.unimi.it/" ;
43+ changelog = "https://github.com/vigna/ne/releases/tag/${ finalAttrs . version } " ;
44+ downloadPage = "https://github.com/vigna/ne" ;
4145 longDescription = ''
4246 ne is a free (GPL'd) text editor based on the POSIX standard that runs
4347 (we hope) on almost any UN*X machine. ne is easy to use for the beginner,
4448 but powerful and fully configurable for the wizard, and most sparing in its
4549 resource usage. See the manual for some highlights of ne's features.
4650 '' ;
47- license = licenses . gpl3 ;
48- platforms = platforms . unix ;
49- maintainers = with maintainers ; [ geri1701 ] ;
51+ license = lib . licenses . gpl3Only ;
52+ platforms = lib . platforms . unix ;
53+ maintainers = with lib . maintainers ; [ geri1701 ] ;
5054 mainProgram = "ne" ;
5155 } ;
52- }
56+ } )
0 commit comments