File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 88 lib ,
99} :
1010
11- stdenv . mkDerivation rec {
11+ stdenv . mkDerivation ( finalAttrs : {
1212 pname = "liboping" ;
1313 version = "1.10.0" ;
1414
1515 src = fetchurl {
16- url = "https://noping.cc/files/${ pname } -${ version } .tar.bz2" ;
17- sha256 = "1n2wkmvw6n80ybdwkjq8ka43z2x8mvxq49byv61b52iyz69slf7b " ;
16+ url = "https://noping.cc/files/liboping -${ finalAttrs . version } .tar.bz2" ;
17+ hash = "sha256-6ziqk/k+irKC2X4lgvuuqIs/iJoIy8nb8gBZw3edXNg= " ;
1818 } ;
1919
2020 patches = [
@@ -52,7 +52,7 @@ stdenv.mkDerivation rec {
5252 "LD=${ stdenv . cc . targetPrefix } cc"
5353 ] ;
5454
55- meta = with lib ; {
55+ meta = {
5656 description = "C library to generate ICMP echo requests (a.k.a. ping packets)" ;
5757 longDescription = ''
5858 liboping is a C library to generate ICMP echo requests, better known as
@@ -61,9 +61,9 @@ stdenv.mkDerivation rec {
6161 Included is a sample application, called oping, which demonstrates the
6262 library's abilities.
6363 '' ;
64- homepage = "http ://noping.cc/" ;
65- license = licenses . lgpl21 ;
66- platforms = platforms . unix ;
67- maintainers = [ maintainers . bjornfor ] ;
64+ homepage = "https ://noping.cc/" ;
65+ license = lib . licenses . lgpl21 ;
66+ platforms = lib . platforms . unix ;
67+ maintainers = [ lib . maintainers . bjornfor ] ;
6868 } ;
69- }
69+ } )
You can’t perform that action at this time.
0 commit comments