mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
jrnl: support journal encryption by default
This commit is contained in:
parent
1c0a5671a1
commit
3ff173ffde
3 changed files with 34 additions and 21 deletions
32
pkgs/applications/misc/jrnl/default.nix
Normal file
32
pkgs/applications/misc/jrnl/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{ stdenv
|
||||
, python
|
||||
}:
|
||||
|
||||
with python.pkgs;
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "jrnl";
|
||||
version = "1.9.8";
|
||||
name = "${pname}-${version}";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "d254c9c8f24dcf985b98a1d5311337c7f416e6305107eec34c567f58c95b06f4";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pytz six tzlocal keyring argparse dateutil_1_5
|
||||
parsedatetime pycrypto
|
||||
];
|
||||
|
||||
# No tests in archive
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://maebert.github.io/jrnl/;
|
||||
description = "A simple command line journal application that stores your journal in a plain text file";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ zalakain ];
|
||||
};
|
||||
}
|
|
@ -2732,6 +2732,8 @@ with pkgs;
|
|||
|
||||
jo = callPackage ../development/tools/jo { };
|
||||
|
||||
jrnl = callPackage ../applications/misc/jrnl { };
|
||||
|
||||
jscoverage = callPackage ../development/tools/misc/jscoverage { };
|
||||
|
||||
jsduck = callPackage ../development/tools/jsduck { };
|
||||
|
|
|
@ -11503,27 +11503,6 @@ in {
|
|||
inherit (self) systemd pytest;
|
||||
};
|
||||
|
||||
jrnl = buildPythonPackage rec {
|
||||
name = "jrnl-1.9.7";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/j/jrnl/${name}.tar.gz";
|
||||
sha256 = "af599a863ac298533685a7236fb86307eebc00a38eb8bb96f4f67b5d83227ec8";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [
|
||||
pytz six tzlocal keyring argparse dateutil_1_5
|
||||
parsedatetime
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = http://maebert.github.io/jrnl/;
|
||||
description = "A simple command line journal application that stores your journal in a plain text file";
|
||||
license = licenses.mit;
|
||||
};
|
||||
};
|
||||
|
||||
jsonnet = buildPythonPackage {
|
||||
inherit (pkgs.jsonnet) name src;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue