Merge pull request #110913 from siraben/other-stdenv-lib

Sandro 2ee93d61 b58f10c3

Changed files
+69 -68
nixos
pkgs
build-support
fetchgit
fetchhg
fetchmtn
fetchrepoproject
fetchs3
fetchsvn
kernel
templaterpm
development
compilers
chicken
4
fetchegg
5
fetchegg
open-watcom-bin
libraries
gcc
libgcc
relibc
science
math
lisp-modules
misc
stdenv
tools
security
proxmark3
top-level
+1 -1
nixos/tests/vault-postgresql.nix
···
import ./make-test-python.nix ({ pkgs, ... }:
{
name = "vault-postgresql";
-
meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ lnl7 roberth ];
};
machine = { lib, pkgs, ... }: {
···
import ./make-test-python.nix ({ pkgs, ... }:
{
name = "vault-postgresql";
+
meta = with pkgs.lib.maintainers; {
maintainers = [ lnl7 roberth ];
};
machine = { lib, pkgs, ... }: {
+4 -4
pkgs/build-support/fetchgit/default.nix
···
-
{stdenvNoCC, git, git-lfs, cacert}: let
urlToName = url: rev: let
-
inherit (stdenvNoCC.lib) removeSuffix splitString last;
base = last (splitString ":" (baseNameOf (removeSuffix "/" url)));
matched = builtins.match "(.*).git" base;
···
fetcher = ./nix-prefetch-git; # This must be a string to ensure it's called with bash.
nativeBuildInputs = [ git ]
-
++ stdenvNoCC.lib.optionals fetchLFS [ git-lfs ];
outputHashAlgo = "sha256";
outputHashMode = "recursive";
···
GIT_SSL_CAINFO = "${cacert}/etc/ssl/certs/ca-bundle.crt";
-
impureEnvVars = stdenvNoCC.lib.fetchers.proxyImpureEnvVars ++ [
"GIT_PROXY_COMMAND" "SOCKS_SERVER"
];
···
+
{lib, stdenvNoCC, git, git-lfs, cacert}: let
urlToName = url: rev: let
+
inherit (lib) removeSuffix splitString last;
base = last (splitString ":" (baseNameOf (removeSuffix "/" url)));
matched = builtins.match "(.*).git" base;
···
fetcher = ./nix-prefetch-git; # This must be a string to ensure it's called with bash.
nativeBuildInputs = [ git ]
+
++ lib.optionals fetchLFS [ git-lfs ];
outputHashAlgo = "sha256";
outputHashMode = "recursive";
···
GIT_SSL_CAINFO = "${cacert}/etc/ssl/certs/ca-bundle.crt";
+
impureEnvVars = lib.fetchers.proxyImpureEnvVars ++ [
"GIT_PROXY_COMMAND" "SOCKS_SERVER"
];
+2 -2
pkgs/build-support/fetchhg/default.nix
···
-
{ stdenvNoCC, mercurial }:
{ name ? null
, url
, rev ? null
···
builder = ./builder.sh;
nativeBuildInputs = [mercurial];
-
impureEnvVars = stdenvNoCC.lib.fetchers.proxyImpureEnvVars;
subrepoClause = if fetchSubrepos then "S" else "";
···
+
{ lib, stdenvNoCC, mercurial }:
{ name ? null
, url
, rev ? null
···
builder = ./builder.sh;
nativeBuildInputs = [mercurial];
+
impureEnvVars = lib.fetchers.proxyImpureEnvVars;
subrepoClause = if fetchSubrepos then "S" else "";
+2 -2
pkgs/build-support/fetchmtn/default.nix
···
# You can specify some extra mirrors and a cache DB via options
-
{stdenvNoCC, monotone, defaultDBMirrors ? [], cacheDB ? "./mtn-checkout.db"}:
# dbs is a list of strings
# each is an url for sync
···
dbs = defaultDBMirrors ++ dbs;
inherit branch cacheDB name selector;
-
impureEnvVars = stdenvNoCC.lib.fetchers.proxyImpureEnvVars;
}
···
# You can specify some extra mirrors and a cache DB via options
+
{lib, stdenvNoCC, monotone, defaultDBMirrors ? [], cacheDB ? "./mtn-checkout.db"}:
# dbs is a list of strings
# each is an url for sync
···
dbs = defaultDBMirrors ++ dbs;
inherit branch cacheDB name selector;
+
impureEnvVars = lib.fetchers.proxyImpureEnvVars;
}
+2 -2
pkgs/build-support/fetchrepoproject/default.nix
···
-
{ stdenvNoCC, gitRepo, cacert, copyPathsToStore }:
{ name, manifest, rev ? "HEAD", sha256
# Optional parameters:
···
assert repoRepoRev != "" -> repoRepoURL != "";
assert createMirror -> !useArchive;
-
with stdenvNoCC.lib;
let
extraRepoInitFlags = [
···
+
{ lib, stdenvNoCC, gitRepo, cacert, copyPathsToStore }:
{ name, manifest, rev ? "HEAD", sha256
# Optional parameters:
···
assert repoRepoRev != "" -> repoRepoURL != "";
assert createMirror -> !useArchive;
+
with lib;
let
extraRepoInitFlags = [
+2 -2
pkgs/build-support/fetchs3/default.nix
···
-
{ stdenvNoCC, runCommand, awscli }:
{ s3url
, name ? builtins.baseNameOf s3url
···
AWS_SESSION_TOKEN = session_token;
};
-
credentialAttrs = stdenvNoCC.lib.optionalAttrs (credentials != null) (mkCredentials credentials);
in runCommand name ({
nativeBuildInputs = [ awscli ];
···
+
{ lib, stdenvNoCC, runCommand, awscli }:
{ s3url
, name ? builtins.baseNameOf s3url
···
AWS_SESSION_TOKEN = session_token;
};
+
credentialAttrs = lib.optionalAttrs (credentials != null) (mkCredentials credentials);
in runCommand name ({
nativeBuildInputs = [ awscli ];
+4 -4
pkgs/build-support/fetchsvn/default.nix
···
-
{ stdenvNoCC, buildPackages
, subversion, glibcLocales, sshSupport ? true, openssh ? null
}:
···
assert sshSupport -> openssh != null;
let
-
repoName = with stdenvNoCC.lib;
let
fst = head;
snd = l: head (tail l);
···
name = name_;
builder = ./builder.sh;
nativeBuildInputs = [ subversion glibcLocales ]
-
++ stdenvNoCC.lib.optional sshSupport openssh;
SVN_SSH = if sshSupport then "${buildPackages.openssh}/bin/ssh" else null;
···
inherit url rev ignoreExternals ignoreKeywords;
-
impureEnvVars = stdenvNoCC.lib.fetchers.proxyImpureEnvVars;
inherit preferLocalBuild;
}
···
+
{ lib, stdenvNoCC, buildPackages
, subversion, glibcLocales, sshSupport ? true, openssh ? null
}:
···
assert sshSupport -> openssh != null;
let
+
repoName = with lib;
let
fst = head;
snd = l: head (tail l);
···
name = name_;
builder = ./builder.sh;
nativeBuildInputs = [ subversion glibcLocales ]
+
++ lib.optional sshSupport openssh;
SVN_SSH = if sshSupport then "${buildPackages.openssh}/bin/ssh" else null;
···
inherit url rev ignoreExternals ignoreKeywords;
+
impureEnvVars = lib.fetchers.proxyImpureEnvVars;
inherit preferLocalBuild;
}
+1 -1
pkgs/build-support/kernel/make-initrd.nix
···
builder = ./make-initrd.sh;
nativeBuildInputs = [ perl cpio ]
-
++ stdenvNoCC.lib.optional makeUInitrd ubootTools;
compress = "${_compressorExecutable} ${lib.escapeShellArgs _compressorArgsReal}";
···
builder = ./make-initrd.sh;
nativeBuildInputs = [ perl cpio ]
+
++ lib.optional makeUInitrd ubootTools;
compress = "${_compressorExecutable} ${lib.escapeShellArgs _compressorArgsReal}";
+5 -5
pkgs/build-support/templaterpm/nix-template-rpm.py
···
@property
def meta(self):
-
out = ' meta = {\n'
out += ' homepage = ' + self.spec.sourceHeader['url'] + ';\n'
out += ' description = "' + self.spec.sourceHeader['summary'] + '";\n'
-
out += ' license = stdenv.lib.licenses.' + self.spec.sourceHeader['license'] + ';\n'
out += ' platforms = [ "i686-linux" "x86_64-linux" ];\n'
-
out += ' maintainers = with stdenv.lib.maintainers; [ ' + self.maintainer + ' ];\n'
out += ' };\n'
out += '}\n'
return out
def __str__(self):
-
head = '{stdenv, fetchurl, ' + ', '.join(self.getBuildInputs("ALL")) + '}:\n\n'
head += 'stdenv.mkDerivation {\n'
body = [ self.name, self.src, self.patch, self.buildInputs, self.configure, self.build, self.ocamlExtra, self.install, self.meta ]
return head + '\n'.join(body)
def getTemplate(self):
-
head = '{stdenv, buildRoot, fetchurl, ' + ', '.join(self.getBuildInputs("ALL")) + '}:\n\n'
head += 'let\n'
head += ' buildRootInput = (import "${buildRoot}/usr/share/buildroot/buildRootInput.nix") { fetchurl=fetchurl; buildRoot=buildRoot; };\n'
head += 'in\n\n'
···
@property
def meta(self):
+
out = ' meta = with lib; {\n'
out += ' homepage = ' + self.spec.sourceHeader['url'] + ';\n'
out += ' description = "' + self.spec.sourceHeader['summary'] + '";\n'
+
out += ' license = lib.licenses.' + self.spec.sourceHeader['license'] + ';\n'
out += ' platforms = [ "i686-linux" "x86_64-linux" ];\n'
+
out += ' maintainers = with lib.maintainers; [ ' + self.maintainer + ' ];\n'
out += ' };\n'
out += '}\n'
return out
def __str__(self):
+
head = '{lib, stdenv, fetchurl, ' + ', '.join(self.getBuildInputs("ALL")) + '}:\n\n'
head += 'stdenv.mkDerivation {\n'
body = [ self.name, self.src, self.patch, self.buildInputs, self.configure, self.build, self.ocamlExtra, self.install, self.meta ]
return head + '\n'.join(body)
def getTemplate(self):
+
head = '{lib, stdenv, buildRoot, fetchurl, ' + ', '.join(self.getBuildInputs("ALL")) + '}:\n\n'
head += 'let\n'
head += ' buildRootInput = (import "${buildRoot}/usr/share/buildroot/buildRootInput.nix") { fetchurl=fetchurl; buildRoot=buildRoot; };\n'
head += 'in\n\n'
+2 -2
pkgs/development/compilers/chicken/4/fetchegg/default.nix
···
# Fetches a chicken egg from henrietta using `chicken-install -r'
# See: http://wiki.call-cc.org/chicken-projects/egg-index-4.html
-
{ stdenvNoCC, chicken }:
{ name, version, md5 ? "", sha256 ? "" }:
if md5 != "" then
···
eggName = name;
-
impureEnvVars = stdenvNoCC.lib.fetchers.proxyImpureEnvVars;
}
···
# Fetches a chicken egg from henrietta using `chicken-install -r'
# See: http://wiki.call-cc.org/chicken-projects/egg-index-4.html
+
{ lib, stdenvNoCC, chicken }:
{ name, version, md5 ? "", sha256 ? "" }:
if md5 != "" then
···
eggName = name;
+
impureEnvVars = lib.fetchers.proxyImpureEnvVars;
}
+2 -2
pkgs/development/compilers/chicken/5/fetchegg/default.nix
···
# Fetches a chicken egg from henrietta using `chicken-install -r'
# See: http://wiki.call-cc.org/chicken-projects/egg-index-5.html
-
{ stdenvNoCC, chicken }:
{ name, version, md5 ? "", sha256 ? "" }:
if md5 != "" then
···
eggName = name;
-
impureEnvVars = stdenvNoCC.lib.fetchers.proxyImpureEnvVars;
}
···
# Fetches a chicken egg from henrietta using `chicken-install -r'
# See: http://wiki.call-cc.org/chicken-projects/egg-index-5.html
+
{ lib, stdenvNoCC, chicken }:
{ name, version, md5 ? "", sha256 ? "" }:
if md5 != "" then
···
eggName = name;
+
impureEnvVars = lib.fetchers.proxyImpureEnvVars;
}
+2 -2
pkgs/development/compilers/open-watcom-bin/default.nix
···
-
{ stdenvNoCC, fetchurl, qemu, expect, writeScript, writeScriptBin, ncurses, bash, coreutils }:
let
···
done
'';
-
meta = with stdenvNoCC.lib; {
description = "A C/C++ Compiler (binary distribution)";
homepage = "http://www.openwatcom.org/";
license = licenses.watcom;
···
+
{ lib, stdenvNoCC, fetchurl, qemu, expect, writeScript, writeScriptBin, ncurses, bash, coreutils }:
let
···
done
'';
+
meta = with lib; {
description = "A C/C++ Compiler (binary distribution)";
homepage = "http://www.openwatcom.org/";
license = licenses.watcom;
+2 -2
pkgs/development/libraries/gcc/libgcc/default.nix
···
-
{ stdenvNoLibs, buildPackages
, gcc, glibc
, libiberty
}:
···
"--disable-vtable-verify"
"--with-system-zlib"
-
] ++ stdenvNoLibs.lib.optional (stdenvNoLibs.hostPlatform.libc == "glibc")
"--with-glibc-version=${glibc.version}";
configurePlatforms = [ "build" "host" ];
···
+
{ lib, stdenvNoLibs, buildPackages
, gcc, glibc
, libiberty
}:
···
"--disable-vtable-verify"
"--with-system-zlib"
+
] ++ lib.optional (stdenvNoLibs.hostPlatform.libc == "glibc")
"--with-glibc-version=${glibc.version}";
configurePlatforms = [ "build" "host" ];
+4 -4
pkgs/development/libraries/relibc/default.nix
···
-
{ stdenvNoCC, buildPackages, makeRustPlatform }:
let
-
rpath = stdenvNoCC.lib.makeLibraryPath [
buildPackages.stdenv.cc.libc
"$out"
];
···
"{}" \;
'';
-
meta.platforms = with stdenvNoCC.lib; platforms.redox ++ platforms.linux;
};
redoxRustPlatform = buildPackages.makeRustPlatform {
···
cargoSha256 = "1fzz7ba3ga57x1cbdrcfrdwwjr70nh4skrpxp4j2gak2c3scj6rz";
-
meta = with stdenvNoCC.lib; {
homepage = "https://gitlab.redox-os.org/redox-os/relibc";
description = "C Library in Rust for Redox and Linux";
license = licenses.mit;
···
+
{ lib, stdenvNoCC, buildPackages, makeRustPlatform }:
let
+
rpath = lib.makeLibraryPath [
buildPackages.stdenv.cc.libc
"$out"
];
···
"{}" \;
'';
+
meta.platforms = with lib; platforms.redox ++ platforms.linux;
};
redoxRustPlatform = buildPackages.makeRustPlatform {
···
cargoSha256 = "1fzz7ba3ga57x1cbdrcfrdwwjr70nh4skrpxp4j2gak2c3scj6rz";
+
meta = with lib; {
homepage = "https://gitlab.redox-os.org/redox-os/relibc";
description = "C Library in Rust for Redox and Linux";
license = licenses.mit;
+5 -4
pkgs/development/libraries/science/math/mkl/default.nix
···
-
{ stdenv
, callPackage
, stdenvNoCC
, fetchurl
···
ln -s $out/lib/libmkl_rt${shlibExt} $out/lib/libcblas${shlibExt}
ln -s $out/lib/libmkl_rt${shlibExt} $out/lib/liblapack${shlibExt}
ln -s $out/lib/libmkl_rt${shlibExt} $out/lib/liblapacke${shlibExt}
-
'' + stdenvNoCC.lib.optionalString stdenvNoCC.hostPlatform.isLinux ''
ln -s $out/lib/libmkl_rt${shlibExt} $out/lib/libblas${shlibExt}".3"
ln -s $out/lib/libmkl_rt${shlibExt} $out/lib/libcblas${shlibExt}".3"
ln -s $out/lib/libmkl_rt${shlibExt} $out/lib/liblapack${shlibExt}".3"
···
# fixDarwinDylibName fails for libmkl_cdft_core.dylib because the
# larger updated load commands do not fit. Use install_name_tool
# explicitly and ignore the error.
-
postFixup = stdenvNoCC.lib.optionalString stdenvNoCC.isDarwin ''
for f in $out/lib/*.dylib; do
install_name_tool -id $out/lib/$(basename $f) $f || true
done
···
passthru.tests.pkg-config = callPackage ./test { };
-
meta = with stdenvNoCC.lib; {
description = "Intel Math Kernel Library";
longDescription = ''
Intel Math Kernel Library (Intel MKL) optimizes code with minimal effort
···
+
{ lib
+
, stdenv
, callPackage
, stdenvNoCC
, fetchurl
···
ln -s $out/lib/libmkl_rt${shlibExt} $out/lib/libcblas${shlibExt}
ln -s $out/lib/libmkl_rt${shlibExt} $out/lib/liblapack${shlibExt}
ln -s $out/lib/libmkl_rt${shlibExt} $out/lib/liblapacke${shlibExt}
+
'' + lib.optionalString stdenvNoCC.hostPlatform.isLinux ''
ln -s $out/lib/libmkl_rt${shlibExt} $out/lib/libblas${shlibExt}".3"
ln -s $out/lib/libmkl_rt${shlibExt} $out/lib/libcblas${shlibExt}".3"
ln -s $out/lib/libmkl_rt${shlibExt} $out/lib/liblapack${shlibExt}".3"
···
# fixDarwinDylibName fails for libmkl_cdft_core.dylib because the
# larger updated load commands do not fit. Use install_name_tool
# explicitly and ignore the error.
+
postFixup = lib.optionalString stdenvNoCC.isDarwin ''
for f in $out/lib/*.dylib; do
install_name_tool -id $out/lib/$(basename $f) $f || true
done
···
passthru.tests.pkg-config = callPackage ./test { };
+
meta = with lib; {
description = "Intel Math Kernel Library";
longDescription = ''
Intel Math Kernel Library (Intel MKL) optimizes code with minimal effort
+5 -5
pkgs/development/lisp-modules/asdf/2.26.nix
···
-
{stdenv, fetchurl, texinfo, texLive, perl}:
let
s = # Generated upstream information
rec {
···
cp -r doc/* "$out"/share/doc/asdf/
ln -s "$out"/lib/common-lisp/{asdf/uiop,uiop}
'';
-
meta = {
inherit (s) version;
description = "Standard software-system definition library for Common Lisp";
-
license = stdenv.lib.licenses.mit ;
-
maintainers = [stdenv.lib.maintainers.raskin];
-
platforms = stdenv.lib.platforms.linux;
};
}
···
+
{lib, stdenv, fetchurl, texinfo, texLive, perl}:
let
s = # Generated upstream information
rec {
···
cp -r doc/* "$out"/share/doc/asdf/
ln -s "$out"/lib/common-lisp/{asdf/uiop,uiop}
'';
+
meta = with lib; {
inherit (s) version;
description = "Standard software-system definition library for Common Lisp";
+
license = licenses.mit;
+
maintainers = [maintainers.raskin];
+
platforms = platforms.linux;
};
}
+5 -5
pkgs/development/lisp-modules/asdf/3.1.nix
···
-
{stdenv, fetchurl, texinfo, texLive, perl}:
let
s = # Generated upstream information
rec {
···
cp -r doc/* "$out"/share/doc/asdf/
ln -s "$out"/lib/common-lisp/{asdf/uiop,uiop}
'';
-
meta = {
inherit (s) version;
description = "Standard software-system definition library for Common Lisp";
-
license = stdenv.lib.licenses.mit ;
-
maintainers = [stdenv.lib.maintainers.raskin];
-
platforms = stdenv.lib.platforms.unix;
};
}
···
+
{lib, stdenv, fetchurl, texinfo, texLive, perl}:
let
s = # Generated upstream information
rec {
···
cp -r doc/* "$out"/share/doc/asdf/
ln -s "$out"/lib/common-lisp/{asdf/uiop,uiop}
'';
+
meta = with lib; {
inherit (s) version;
description = "Standard software-system definition library for Common Lisp";
+
license = licenses.mit ;
+
maintainers = [maintainers.raskin];
+
platforms = platforms.unix;
};
}
+5 -5
pkgs/development/lisp-modules/asdf/default.nix
···
-
{stdenv, fetchurl, texinfo, texLive, perl}:
let
s = # Generated upstream information
rec {
···
cp -r doc/* "$out"/share/doc/asdf/
ln -s "$out"/lib/common-lisp/{asdf/uiop,uiop}
'';
-
meta = {
inherit (s) version;
description = "Standard software-system definition library for Common Lisp";
-
license = stdenv.lib.licenses.mit ;
-
maintainers = [stdenv.lib.maintainers.raskin];
-
platforms = stdenv.lib.platforms.unix;
};
}
···
+
{lib, stdenv, fetchurl, texinfo, texLive, perl}:
let
s = # Generated upstream information
rec {
···
cp -r doc/* "$out"/share/doc/asdf/
ln -s "$out"/lib/common-lisp/{asdf/uiop,uiop}
'';
+
meta = with lib; {
inherit (s) version;
description = "Standard software-system definition library for Common Lisp";
+
license = licenses.mit ;
+
maintainers = [maintainers.raskin];
+
platforms = platforms.unix;
};
}
+2 -2
pkgs/development/lisp-modules/clwrapper/default.nix
···
-
{stdenv, asdf, which, bash, lisp ? null}:
stdenv.mkDerivation {
name = "cl-wrapper-script";
···
meta = {
description = "Script used to wrap Common Lisp implementations";
-
maintainers = [stdenv.lib.maintainers.raskin];
};
}
···
+
{lib, stdenv, asdf, which, bash, lisp ? null}:
stdenv.mkDerivation {
name = "cl-wrapper-script";
···
meta = {
description = "Script used to wrap Common Lisp implementations";
+
maintainers = [lib.maintainers.raskin];
};
}
+2 -2
pkgs/development/lisp-modules/define-package.nix
···
-
args @ {stdenv, clwrapper, baseName, packageName ? baseName
, parasites ? []
, buildSystems ? ([packageName] ++ parasites)
, version ? "latest"
···
env -i \
NIX_LISP="$NIX_LISP" \
NIX_LISP_PRELAUNCH_HOOK='nix_lisp_run_single_form "(progn
-
${stdenv.lib.concatMapStrings (system: ''
(asdf:compile-system :${system})
(asdf:load-system :${system})
(asdf:operate (quote asdf::compile-bundle-op) :${system})
···
+
args @ {lib, stdenv, clwrapper, baseName, packageName ? baseName
, parasites ? []
, buildSystems ? ([packageName] ++ parasites)
, version ? "latest"
···
env -i \
NIX_LISP="$NIX_LISP" \
NIX_LISP_PRELAUNCH_HOOK='nix_lisp_run_single_form "(progn
+
${lib.concatMapStrings (system: ''
(asdf:compile-system :${system})
(asdf:load-system :${system})
(asdf:operate (quote asdf::compile-bundle-op) :${system})
+2 -2
pkgs/development/lisp-modules/lisp-packages.nix
···
-
{stdenv, clwrapper, pkgs, sbcl, coreutils, nix, asdf}:
let lispPackages = rec {
-
inherit pkgs clwrapper stdenv;
nixLib = pkgs.lib;
callPackage = nixLib.callPackageWith lispPackages;
···
+
{lib, stdenv, clwrapper, pkgs, sbcl, coreutils, nix, asdf}:
let lispPackages = rec {
+
inherit lib pkgs clwrapper stdenv;
nixLib = pkgs.lib;
callPackage = nixLib.callPackageWith lispPackages;
+2 -2
pkgs/development/lisp-modules/quicklisp-to-nix.nix
···
-
{stdenv, fetchurl, pkgs, clwrapper}:
let quicklisp-to-nix-packages = rec {
-
inherit stdenv fetchurl clwrapper pkgs quicklisp-to-nix-packages;
callPackage = pkgs.lib.callPackageWith quicklisp-to-nix-packages;
buildLispPackage = callPackage ./define-package.nix;
···
+
{lib, stdenv, fetchurl, pkgs, clwrapper}:
let quicklisp-to-nix-packages = rec {
+
inherit lib stdenv fetchurl clwrapper pkgs quicklisp-to-nix-packages;
callPackage = pkgs.lib.callPackageWith quicklisp-to-nix-packages;
buildLispPackage = callPackage ./define-package.nix;
+2 -2
pkgs/development/misc/msp430/gcc-support.nix
···
-
{ stdenvNoCC, fetchzip }:
let
mspgccVersion = "6_1_1_0";
···
touch $out/lib/lib
'';
-
meta = with stdenvNoCC.lib; {
description = ''
Development headers and linker scripts for TI MSP430 microcontrollers
'';
···
+
{ lib, stdenvNoCC, fetchzip }:
let
mspgccVersion = "6_1_1_0";
···
touch $out/lib/lib
'';
+
meta = with lib; {
description = ''
Development headers and linker scripts for TI MSP430 microcontrollers
'';
+1 -1
pkgs/stdenv/adapters.nix
···
*/
replaceMaintainersField = stdenv: pkgs: maintainers: stdenv //
{ mkDerivation = args:
-
stdenv.lib.recursiveUpdate
(stdenv.mkDerivation args)
{ meta.maintainers = maintainers; };
};
···
*/
replaceMaintainersField = stdenv: pkgs: maintainers: stdenv //
{ mkDerivation = args:
+
pkgs.lib.recursiveUpdate
(stdenv.mkDerivation args)
{ meta.maintainers = maintainers; };
};
+2 -2
pkgs/tools/security/proxmark3/proxmark3-rrg.nix
···
-
{ stdenv, mkDerivation, fetchFromGitHub, pkg-config, gcc-arm-embedded, bluez5
, readline
, hardwarePlatform ? "PM3RDV4"
···
install -Dt $out/firmware bootrom/obj/bootrom.elf armsrc/obj/fullimage.elf
'';
-
meta = with stdenv.lib; {
description = "Client for proxmark3, powerful general purpose RFID tool";
homepage = "https://rfidresearchgroup.com/";
license = licenses.gpl2Plus;
···
+
{ lib, stdenv, mkDerivation, fetchFromGitHub, pkg-config, gcc-arm-embedded, bluez5
, readline
, hardwarePlatform ? "PM3RDV4"
···
install -Dt $out/firmware bootrom/obj/bootrom.elf armsrc/obj/fullimage.elf
'';
+
meta = with lib; {
description = "Client for proxmark3, powerful general purpose RFID tool";
homepage = "https://rfidresearchgroup.com/";
license = licenses.gpl2Plus;
+1 -1
pkgs/top-level/all-packages.nix
···
}).overrideAttrs (oldAttrs: rec {
pname = "vim-darwin";
meta = {
-
platforms = stdenv.lib.platforms.darwin;
};
});
···
}).overrideAttrs (oldAttrs: rec {
pname = "vim-darwin";
meta = {
+
platforms = lib.platforms.darwin;
};
});