about summary refs log tree commit diff
path: root/pkgs/development/python-modules/discid/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/discid/default.nix')
-rw-r--r--pkgs/development/python-modules/discid/default.nix16
1 files changed, 12 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/discid/default.nix b/pkgs/development/python-modules/discid/default.nix
index ec921be17ddb..83cc31223521 100644
--- a/pkgs/development/python-modules/discid/default.nix
+++ b/pkgs/development/python-modules/discid/default.nix
@@ -1,4 +1,10 @@
-{ lib, stdenv, libdiscid, buildPythonPackage, fetchPypi }:
+{
+  lib,
+  stdenv,
+  libdiscid,
+  buildPythonPackage,
+  fetchPypi,
+}:
 
 buildPythonPackage rec {
   pname = "discid";
@@ -11,7 +17,9 @@ buildPythonPackage rec {
   };
 
   patchPhase =
-    let extension = stdenv.hostPlatform.extensions.sharedLibrary; in
+    let
+      extension = stdenv.hostPlatform.extensions.sharedLibrary;
+    in
     ''
       substituteInPlace discid/libdiscid.py \
         --replace "_open_library(_LIB_NAME)" \
@@ -20,7 +28,7 @@ buildPythonPackage rec {
 
   meta = with lib; {
     description = "Python binding of libdiscid";
-    homepage    = "https://python-discid.readthedocs.org/";
-    license     = licenses.lgpl3Plus;
+    homepage = "https://python-discid.readthedocs.org/";
+    license = licenses.lgpl3Plus;
   };
 }