pdd: init at 1.1
This commit is contained in:
parent
6a6bdca507
commit
4ca6d25a9c
34
pkgs/tools/misc/pdd/default.nix
Normal file
34
pkgs/tools/misc/pdd/default.nix
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
{ stdenv, fetchFromGitHub, buildPythonApplication, dateutil }:
|
||||||
|
|
||||||
|
buildPythonApplication rec {
|
||||||
|
pname = "pdd";
|
||||||
|
version = "1.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "jarun";
|
||||||
|
repo = "pdd";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1nb64vdlym4najjyfxq1nprqcwgrwnqj1mml0fcg20hrgbjm4bf2";
|
||||||
|
};
|
||||||
|
|
||||||
|
format = "other";
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ dateutil ];
|
||||||
|
|
||||||
|
installFlags = [ "PREFIX=$(out)" ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = "https://github.com/jarun/pdd";
|
||||||
|
description = "Tiny date, time diff calculator";
|
||||||
|
longDescription = ''
|
||||||
|
There are times you want to check how old you are (in years, months, days)
|
||||||
|
or how long you need to wait for the next flash sale or the number of days
|
||||||
|
left of your notice period in your current job. pdd (Python3 Date Diff) is
|
||||||
|
a small cmdline utility to calculate date and time difference. If no
|
||||||
|
program arguments are specified it shows the current date, time and
|
||||||
|
timezone.
|
||||||
|
'';
|
||||||
|
maintainers = [ maintainers.infinisil ];
|
||||||
|
license = licenses.gpl3;
|
||||||
|
};
|
||||||
|
}
|
@ -4228,6 +4228,8 @@ with pkgs;
|
|||||||
|
|
||||||
pcsc-cyberjack = callPackage ../tools/security/pcsc-cyberjack { };
|
pcsc-cyberjack = callPackage ../tools/security/pcsc-cyberjack { };
|
||||||
|
|
||||||
|
pdd = python3Packages.callPackage ../tools/misc/pdd { };
|
||||||
|
|
||||||
pdf2djvu = callPackage ../tools/typesetting/pdf2djvu { };
|
pdf2djvu = callPackage ../tools/typesetting/pdf2djvu { };
|
||||||
|
|
||||||
pdf2htmlEX = callPackage ../tools/typesetting/pdf2htmlEX { };
|
pdf2htmlEX = callPackage ../tools/typesetting/pdf2htmlEX { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user