about summary refs log tree commit diff
path: root/pkgs/development/libraries
diff options
context:
space:
mode:
authorlinarcx <linarcx@gmail.com>2019-03-17 00:42:40 +0330
committerlinarcx <linarcx@gmail.com>2019-03-17 00:42:40 +0330
commitc3e17e7d764c18063610ed11826d7bb08c55914c (patch)
tree0c8f32a899c06a1554022246f6c1024b1a3bb0fe /pkgs/development/libraries
parentdb4f3b174429adb4a96fe0003f74fe9a6f0e5d1f (diff)
downloadnixlib-c3e17e7d764c18063610ed11826d7bb08c55914c.tar
nixlib-c3e17e7d764c18063610ed11826d7bb08c55914c.tar.gz
nixlib-c3e17e7d764c18063610ed11826d7bb08c55914c.tar.bz2
nixlib-c3e17e7d764c18063610ed11826d7bb08c55914c.tar.lz
nixlib-c3e17e7d764c18063610ed11826d7bb08c55914c.tar.xz
nixlib-c3e17e7d764c18063610ed11826d7bb08c55914c.tar.zst
nixlib-c3e17e7d764c18063610ed11826d7bb08c55914c.zip
jcal: init at 0.4.1
Diffstat (limited to 'pkgs/development/libraries')
-rw-r--r--pkgs/development/libraries/jcal/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/libraries/jcal/default.nix b/pkgs/development/libraries/jcal/default.nix
new file mode 100644
index 000000000000..dfb0003cc98a
--- /dev/null
+++ b/pkgs/development/libraries/jcal/default.nix
@@ -0,0 +1,28 @@
+{ stdenv, fetchFromGitHub, autoreconfHook
+, readline
+}:
+
+stdenv.mkDerivation rec {
+  name = "jcal";
+  version = "0.4.1";
+
+  src = fetchFromGitHub {
+    owner = "fzerorubigd";
+    repo = "jcal";
+    rev = "v${version}";
+    sha256 = "0m3g3rf0ycv2dsfn9y2472fa3r0yla8pfqk6gq00nrscsc3pp4zf";
+  };
+
+  nativeBuildInputs = [ autoreconfHook ];
+  buildInputs = [ readline ];
+
+  preAutoreconf = "cd sources/";
+
+  meta = with stdenv.lib; {
+    description = "Jalali calendar is a small and portable free software library to manipulate date and time in Jalali calendar system.";
+    homepage =  http://nongnu.org/jcal/;
+    license = licenses.gpl3;
+    maintainers = [ maintainers.linarcx ];
+    platforms = platforms.all;
+  };
+}