populate: 2.1.0 -> 2.3.0

This commit is contained in:
tv 2018-02-28 14:15:29 +01:00
parent 3ac7941968
commit dd4fac0fa4
2 changed files with 17 additions and 2 deletions

View File

@ -16,12 +16,12 @@ in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "populate"; name = "populate";
version = "2.1.0"; version = "2.3.0";
src = fetchgit { src = fetchgit {
url = http://cgit.ni.krebsco.de/populate; url = http://cgit.ni.krebsco.de/populate;
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
sha256 = "0cr50y6h6nps0qgpmi01h0z9wzpv2704y5zgx2salk1grkmvcfmh"; sha256 = "05zr132k1s3a1cc879lvhb83hax7dbfmsbrnxmh7dxjcdg3yhxd7";
}; };
phases = [ phases = [

View File

@ -255,6 +255,14 @@ rec {
default = null; default = null;
type = nullOr source-types.pass; type = nullOr source-types.pass;
}; };
pipe = mkOption {
apply = x:
if absolute-pathname.check x
then { command = x; }
else x;
default = null;
type = nullOr (either absolute-pathname source-types.pipe);
};
symlink = mkOption { symlink = mkOption {
type = nullOr (either pathname source-types.symlink); type = nullOr (either pathname source-types.symlink);
default = null; default = null;
@ -294,6 +302,13 @@ rec {
}; };
}; };
}; };
pipe = submodule {
options = {
command = mkOption {
type = absolute-pathname;
};
};
};
symlink = submodule { symlink = submodule {
options = { options = {
target = mkOption { target = mkOption {