bundlerUpdateScript: init and use (#64822)

This commit is contained in:
Nick Novitski
2019-07-22 12:02:47 +00:00
committed by zimbatm
parent b24841dd22
commit 7136e0d0a6
79 changed files with 310 additions and 249 deletions
+5 -3
View File
@@ -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;
};
}