This repository was archived by the owner on Oct 7, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 6868 doCheck = commonDoCheck;
6969 buildInputs = commonBuildInputs;
7070 propagatedBuildInputs = %(propagatedBuildInputs)s;
71- meta = with pkgs.stdenv; {
71+ meta = with pkgs.stdenv.lib ; {
7272 homepage = "%(homepage)s";
7373 license = %(license)s;
7474 description = "%(description)s";
8989def find_license (item ):
9090 license = item .get ('license' )
9191 if license == 'ZPL 2.1' :
92- license = "lib .zpt21"
92+ license = "licenses .zpt21"
9393 elif license in ['MIT' , 'MIT License' ]:
94- license = "lib .mit"
94+ license = "licenses .mit"
9595 elif license in ['BSD' , 'BSD License' , 'BSD-like' ,
9696 'BSD or Apache License, Version 2.0' ] or \
9797 license .startswith ('BSD -' ):
98- license = "lib .bsdOriginal"
98+ license = "licenses .bsdOriginal"
9999 elif license in ['Apache 2.0' , 'Apache License 2.0' ]:
100- license = "lib .asl20"
100+ license = "licenses .asl20"
101101 elif license in ['GNU Lesser General Public License (LGPL), Version 3' ]:
102- license = "lib .lgpl3"
102+ license = "licenses .lgpl3"
103103 elif license in ['Python Software Foundation License' ]:
104- license = "lib .psfl"
104+ license = "licenses .psfl"
105105 elif license is None :
106106 license = '""'
107107 else :
You can’t perform that action at this time.
0 commit comments