pkgs/development/tools: stdenv.lib -> lib
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchgit, sqlite, pkg-config, perl
|
||||
{ lib, stdenv, fetchgit, sqlite, pkg-config, perl
|
||||
, buildllvmsparse ? true
|
||||
, buildc2xml ? true
|
||||
, llvm ? null, libxml2 ? null
|
||||
@@ -18,8 +18,8 @@ stdenv.mkDerivation {
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [sqlite perl]
|
||||
++ stdenv.lib.optional buildllvmsparse llvm
|
||||
++ stdenv.lib.optional buildc2xml libxml2;
|
||||
++ lib.optional buildllvmsparse llvm
|
||||
++ lib.optional buildc2xml libxml2;
|
||||
|
||||
preBuild =
|
||||
'' sed -i Makefile \
|
||||
@@ -29,7 +29,7 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
description = "A semantic analysis tool for C";
|
||||
homepage = "http://smatch.sourceforge.net/";
|
||||
license = stdenv.lib.licenses.free; /* OSL, see http://www.opensource.org */
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.free; /* OSL, see http://www.opensource.org */
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user