summary refs log tree commit diff
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2022-04-26 11:44:18 +0200
committerFabian Affolter <mail@fabian-affolter.ch>2022-04-26 11:44:18 +0200
commit559f41b0ec701712e506477bfaee6c68c249a1c5 (patch)
tree3cf414be30b21c82839f2cab539b82840d0133ad
parent1e59f05167538c6f87cdc428ce064beede2609c9 (diff)
downloadnixpkgs-559f41b0ec701712e506477bfaee6c68c249a1c5.tar
nixpkgs-559f41b0ec701712e506477bfaee6c68c249a1c5.tar.gz
nixpkgs-559f41b0ec701712e506477bfaee6c68c249a1c5.tar.bz2
nixpkgs-559f41b0ec701712e506477bfaee6c68c249a1c5.tar.lz
nixpkgs-559f41b0ec701712e506477bfaee6c68c249a1c5.tar.xz
nixpkgs-559f41b0ec701712e506477bfaee6c68c249a1c5.tar.zst
nixpkgs-559f41b0ec701712e506477bfaee6c68c249a1c5.zip
sigal: 2.2 -> 2.3
-rw-r--r--pkgs/applications/misc/sigal/default.nix30
1 files changed, 17 insertions, 13 deletions
diff --git a/pkgs/applications/misc/sigal/default.nix b/pkgs/applications/misc/sigal/default.nix
index 20b944efd5d..928a71b6904 100644
--- a/pkgs/applications/misc/sigal/default.nix
+++ b/pkgs/applications/misc/sigal/default.nix
@@ -1,17 +1,19 @@
-{ lib, python3Packages, ffmpeg }:
+{ lib
+, python3
+, ffmpeg
+}:
 
-python3Packages.buildPythonApplication rec {
-  version = "2.2";
-  pname   = "sigal";
+python3.pkgs.buildPythonApplication rec {
+  pname = "sigal";
+  version = "2.3";
+  format = "setuptools";
 
-  src = python3Packages.fetchPypi {
+  src = python3.pkgs.fetchPypi {
     inherit version pname;
-    sha256 = "sha256-49XsNdZuicsiYJZuF1UdqMA4q33Ly/Ug/Hc4ybJKmPo=";
+    hash = "sha256-4Zsb/OBtU/jV0gThEYe8bcrb+6hW+hnzQS19q1H409Q=";
   };
 
-  disabled = !(python3Packages.pythonAtLeast "3.6");
-
-  propagatedBuildInputs = with python3Packages; [
+  propagatedBuildInputs = with python3.pkgs; [
     # install_requires
     jinja2
     markdown
@@ -29,16 +31,18 @@ python3Packages.buildPythonApplication rec {
 
   checkInputs = [
     ffmpeg
-  ] ++ (with python3Packages; [
+  ] ++ (with python3.pkgs; [
     pytestCheckHook
   ]);
 
-  makeWrapperArgs = [ "--prefix PATH : ${ffmpeg}/bin" ];
+  makeWrapperArgs = [
+    "--prefix PATH : ${lib.makeBinPath [ ffmpeg ]}"
+  ];
 
   meta = with lib; {
     description = "Yet another simple static gallery generator";
-    homepage    = "http://sigal.saimon.org/en/latest/index.html";
-    license     = licenses.mit;
+    homepage = "http://sigal.saimon.org/";
+    license = licenses.mit;
     maintainers = with maintainers; [ domenkozar matthiasbeyer ];
   };
 }