bundlerUpdateScript: init and use (#64822)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{ stdenv, lib, bundlerEnv, ruby, xsel, makeWrapper }:
|
||||
{ stdenv, lib, bundlerEnv, ruby, bundlerUpdateScript, xsel, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "pws-1.0.6";
|
||||
name = "pws-${(import ./gemset.nix).pws.version}";
|
||||
|
||||
env = bundlerEnv {
|
||||
name = "${name}-gems";
|
||||
@@ -21,11 +21,13 @@ stdenv.mkDerivation rec {
|
||||
--set PATH '"${xsel}/bin/:$PATH"'
|
||||
'';
|
||||
|
||||
passthru.updateScript = bundlerUpdateScript "pws";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Command-line password safe";
|
||||
homepage = https://github.com/janlelis/pws;
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.swistak35 ];
|
||||
maintainers = with maintainers; [ swistak35 nicknovitski ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user