summary refs log tree commit diff
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2018-02-27 10:54:52 +0100
committermakefu <github@syntax-fehler.de>2018-02-28 08:32:53 +0100
commit0b5af0399d14bf9382b415e280fd6226279ce517 (patch)
treef2316752d8f6ee011b7a2102f0ee35e89962ef28
parent2fb4fafdfbf29e3105c8a7c5cb7d9ef2f2cd6a52 (diff)
downloadnixlib-0b5af0399d14bf9382b415e280fd6226279ce517.tar
nixlib-0b5af0399d14bf9382b415e280fd6226279ce517.tar.gz
nixlib-0b5af0399d14bf9382b415e280fd6226279ce517.tar.bz2
nixlib-0b5af0399d14bf9382b415e280fd6226279ce517.tar.lz
nixlib-0b5af0399d14bf9382b415e280fd6226279ce517.tar.xz
nixlib-0b5af0399d14bf9382b415e280fd6226279ce517.tar.zst
nixlib-0b5af0399d14bf9382b415e280fd6226279ce517.zip
pythonPackages.xstatic-jquery-ui: move to python-modules
-rw-r--r--pkgs/development/python-modules/xstatic-jquery-ui/default.nix28
-rw-r--r--pkgs/top-level/python-packages.nix17
2 files changed, 29 insertions, 16 deletions
diff --git a/pkgs/development/python-modules/xstatic-jquery-ui/default.nix b/pkgs/development/python-modules/xstatic-jquery-ui/default.nix
new file mode 100644
index 000000000000..1b884a97eb22
--- /dev/null
+++ b/pkgs/development/python-modules/xstatic-jquery-ui/default.nix
@@ -0,0 +1,28 @@
+{ buildPythonPackage
+, lib
+, fetchPypi
+, xstatic-jquery
+}:
+
+buildPythonPackage rec {
+  pname = "XStatic-jquery-ui";
+  version = "1.12.0.1";
+
+  src = fetchPypi {
+    inherit version pname;
+    sha256 = "0w7mabv6qflpd47g33j3ggp5rv17mqk0xz3bsdswcj97wqpga2l2";
+  };
+
+  # no tests implemented
+  doCheck = false;
+
+  propagatedBuildInputs = [ xstatic-jquery ];
+
+  meta = with lib;{
+    homepage = http://jqueryui.com/;
+    description = "jquery-ui packaged static files for python";
+    license = licenses.mit;
+    maintainers = with maintainers; [ makefu ];
+  };
+
+}
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index 5f5737d7f136..53f5cf063d84 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -20477,22 +20477,7 @@ EOF
 
   xstatic-jquery-file-upload = callPackage ../development/python-modules/xstatic-jquery-file-upload {};
 
-  xstatic-jquery-ui = buildPythonPackage rec {
-    name = "XStatic-jquery-ui-${version}";
-    version = "1.12.0.1";
-    propagatedBuildInputs = with self; [ xstatic-jquery ];
-    src = pkgs.fetchurl {
-      url = "mirror://pypi/X/XStatic-jquery-ui/XStatic-jquery-ui-${version}.tar.gz";
-      sha256 = "0w7mabv6qflpd47g33j3ggp5rv17mqk0xz3bsdswcj97wqpga2l2";
-    };
-
-    meta = {
-      homepage = http://jqueryui.com/;
-      description = "jquery-ui packaged static files for python";
-      license = licenses.mit;
-      maintainers = [ maintainers.makefu ];
-    };
-  };
+  xstatic-jquery-ui = callPackage ../development/python-modules/xstatic-jquery-ui {};
 
   xstatic-pygments = buildPythonPackage rec {
     name = "XStatic-Pygments-${version}";