File tree Expand file tree Collapse file tree 2 files changed +71
-59
lines changed Expand file tree Collapse file tree 2 files changed +71
-59
lines changed Original file line number Diff line number Diff line change 55{ lib
66, stdenv
77, fetchFromGitHub
8- $1
8+ , $1
9+ , $2
910}:
1011
1112stdenv.mkDerivation rec {
12- pname = "$2 ";
13- version = "$3 ";
13+ pname = "$3 ";
14+ version = "$4 ";
1415
1516 src = fetchFromGitHub {
16- owner = "$4 ";
17- repo = " $2 " ;
18- rev = "${ 5 :v\$ \{ version\} } ";
19- sha256 = "${ 6 :\$ \{ lib.fakeSha256\} } ";
17+ owner = "$5 ";
18+ repo = ${ 6 : pname } ;
19+ rev = "${ 7 :v\$ \{ version\} } ";
20+ sha256 = "${ 8 :\$ \{ lib.fakeSha256\} } ";
2021 };
2122
22- nativeBuildInputs = [ ];
23- buildInputs = [ $1 ];
23+ nativeBuildInputs = [ ${ 1 :$ (replace-regexp-in-string " *" " " (subst-char-in-string ?, ? yas-text)) } ];
24+ buildInputs = [
25+ ${ 2 :$ (replace-regexp-in-string " *" " " (subst-char-in-string ?, ? yas-text)) }
26+ ];
2427
2528 meta = with lib; {
26- homepage = "https://${ 7 :github.com/$4/$2 } ";
27- description = "$8 ";
28- license = licenses.${ 9 :$$
29+ homepage = "https://${ 9 :github.com/$5/$3 } ";
30+ description = "$10 ";
31+ longDescription = ''
32+ $11
33+ '';
34+ license = licenses.${ 12 :$$
2935 (yas-choose-value '(
3036 "agpl3"
3137 "asl20"
@@ -51,26 +57,26 @@ stdenv.mkDerivation rec {
5157 "ofl"
5258 "unfree"
5359 )) } ;
54- maintainers = with maintainers; [ $10 ];
55- platforms = platforms.${ 11 :$$
60+ maintainers = with maintainers; [ $12 ];
61+ platforms = platforms.${ 13 :$$
5662 (yas-choose-value '(
57- "all"
58- "allBut"
59- "arm"
60- "cygwin"
61- "darwin"
62- "freebsd"
63- "gnu"
64- "i686"
65- "illumos"
66- "linux"
67- "mesaPlatforms"
68- "mips"
69- "netbsd"
70- "none"
71- "openbsd"
72- "unix"
73- "x86"
63+ "all"
64+ "allBut"
65+ "arm"
66+ "cygwin"
67+ "darwin"
68+ "freebsd"
69+ "gnu"
70+ "i686"
71+ "illumos"
72+ "linux"
73+ "mesaPlatforms"
74+ "mips"
75+ "netbsd"
76+ "none"
77+ "openbsd"
78+ "unix"
79+ "x86"
7480 )) } ;
7581 };
7682}
Original file line number Diff line number Diff line change 66, stdenv
77, fetchurl
88$1
9+ $2
910}:
1011
1112stdenv.mkDerivation rec {
12- pname = "$2 ";
13- version = "$3 ";
13+ pname = "$3 ";
14+ version = "$4 ";
1415
1516 src = fetchurl {
16- url = "$4 ";
17- sha256 = "${ 5 :\$ \{ lib.fakeSha256\} } ";
17+ url = "$5 ";
18+ sha256 = "${ 6 :\$ \{ lib.fakeSha256\} } ";
1819 };
1920
20- nativeBuildInputs = [ ];
21- buildInputs = [ $1 ];
21+ nativeBuildInputs = [ ${ 1 :$ (replace-regexp-in-string " *" " " (subst-char-in-string ?, ? yas-text)) } ];
22+ buildInputs = [
23+ ${ 2 :$ (replace-regexp-in-string " *" " " (subst-char-in-string ?, ? yas-text)) }
24+ ];
2225
2326 meta = with lib; {
24- homepage = "https://$6 ";
25- description = "$7 ";
26- license = licenses.${ 8 :$$
27+ homepage = "https://$7 ";
28+ description = "$8 ";
29+ longDescription = ''
30+ $9
31+ '';
32+ license = licenses.${ 10 :$$
2733 (yas-choose-value '(
2834 "agpl3"
2935 "asl20"
@@ -49,26 +55,26 @@ stdenv.mkDerivation rec {
4955 "ofl"
5056 "unfree"
5157 )) } ;
52- maintainers = with maintainers; [ $9 ];
53- platforms = platforms.${ 10 :$$
58+ maintainers = with maintainers; [ $11 ];
59+ platforms = platforms.${ 12 :$$
5460 (yas-choose-value '(
55- "all"
56- "allBut"
57- "arm"
58- "cygwin"
59- "darwin"
60- "freebsd"
61- "gnu"
62- "i686"
63- "illumos"
64- "linux"
65- "mesaPlatforms"
66- "mips"
67- "netbsd"
68- "none"
69- "openbsd"
70- "unix"
71- "x86"
61+ "all"
62+ "allBut"
63+ "arm"
64+ "cygwin"
65+ "darwin"
66+ "freebsd"
67+ "gnu"
68+ "i686"
69+ "illumos"
70+ "linux"
71+ "mesaPlatforms"
72+ "mips"
73+ "netbsd"
74+ "none"
75+ "openbsd"
76+ "unix"
77+ "x86"
7278 )) } ;
7379 };
7480}
You can’t perform that action at this time.
0 commit comments