Merge pull request #312401 from ivankovnatsky/patch-47
ks: init at 0.0.4
This commit is contained in:
commit
c0eebfae00
30
pkgs/by-name/ks/ks/package.nix
Normal file
30
pkgs/by-name/ks/ks/package.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "ks";
|
||||
version = "0.4.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "loteoo";
|
||||
repo = "ks";
|
||||
rev = "${finalAttrs.version}";
|
||||
hash = "sha256-jGo0u0wiwOc2n8x0rvDIg1suu6vJQ5UCfslYD5vUlyI=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp ${finalAttrs.pname} $out/bin/
|
||||
'';
|
||||
|
||||
meta = {
|
||||
mainProgram = "ks";
|
||||
homepage = "https://github.com/loteoo/ks";
|
||||
description = "Command-line secrets manager powered by macOS keychains";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ ivankovnatsky ];
|
||||
platforms = lib.platforms.darwin;
|
||||
};
|
||||
})
|
Loading…
Reference in New Issue
Block a user