Add Sqitch database management tool
This commit is contained in:
parent
c668b45c6c
commit
d6e0169c6f
pkgs
|
@ -0,0 +1,21 @@
|
||||||
|
{ stdenv, writeScript, makeWrapper, sqitchModule }:
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "sqitch-0.999";
|
||||||
|
buildInputs = [ makeWrapper ];
|
||||||
|
propagatedNativeBuildInputs = [ sqitchModule ];
|
||||||
|
builder = writeScript (name + "-builder.sh") ''
|
||||||
|
. ${stdenv}/setup
|
||||||
|
mkdir -p $out/bin
|
||||||
|
cp ${sqitchModule}/bin/sqitch $out/bin
|
||||||
|
fixupPhase
|
||||||
|
wrapProgram $out/bin/sqitch \
|
||||||
|
--prefix PERL5LIB : \
|
||||||
|
"$(for i in "$propagatedNativeBuildInputs" ; do
|
||||||
|
for j in $(cat $i/nix-support/propagated-native-build-inputs) ; do
|
||||||
|
echo -n "$j"/lib/perl5/site_perl:
|
||||||
|
done
|
||||||
|
done
|
||||||
|
echo "$propagatedNativeBuildInputs"/lib/perl5/site_perl
|
||||||
|
)"
|
||||||
|
'';
|
||||||
|
}
|
|
@ -7816,6 +7816,11 @@ let
|
||||||
|
|
||||||
planetary_annihilation = callPackage ../games/planetaryannihilation { };
|
planetary_annihilation = callPackage ../games/planetaryannihilation { };
|
||||||
|
|
||||||
|
sqitch = callPackage ../development/tools/misc/sqitch {
|
||||||
|
inherit stdenv writeScript makeWrapper ;
|
||||||
|
sqitchModule = perlPackages.AppSqitch;
|
||||||
|
};
|
||||||
|
|
||||||
### DEVELOPMENT / PYTHON MODULES
|
### DEVELOPMENT / PYTHON MODULES
|
||||||
|
|
||||||
# python function with default python interpreter
|
# python function with default python interpreter
|
||||||
|
|
|
@ -235,6 +235,11 @@ let self = _self // overrides; _self = with self; {
|
||||||
IPCSystemSimple ListMoreUtils Moo PathClass PerlIOutf8_strict StringFormatter
|
IPCSystemSimple ListMoreUtils Moo PathClass PerlIOutf8_strict StringFormatter
|
||||||
StringShellQuote SubExporter TemplateTiny Throwable TryTiny TypeTiny URI
|
StringShellQuote SubExporter TemplateTiny Throwable TryTiny TypeTiny URI
|
||||||
URIdb libintlperl namespaceautoclean
|
URIdb libintlperl namespaceautoclean
|
||||||
|
strictures ModuleRuntime DevelGlobalDestruction SubExporterProgressive
|
||||||
|
ImportInto ExporterTiny DataOptList ParamsUtil SubInstall RoleTiny
|
||||||
|
MooXTypesMooseLike ClassLoad ModuleImplementation ClassLoadXS
|
||||||
|
BHooksEndOfScope namespaceclean PackageStash SubIdentify
|
||||||
|
ClassMethodModifiers
|
||||||
];
|
];
|
||||||
doCheck = false; # Can't find home directory.
|
doCheck = false; # Can't find home directory.
|
||||||
meta = {
|
meta = {
|
||||||
|
|
Loading…
Reference in New Issue