pythonPackages.xstatic-jquery-file-upload: move to python-modules

This commit is contained in:
makefu 2018-02-27 10:50:09 +01:00
parent 9fe410fd49
commit 2fb4fafdfb
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225
2 changed files with 29 additions and 16 deletions

View File

@ -0,0 +1,28 @@
{ buildPythonPackage
, lib
, fetchPypi
, xstatic-jquery
}:
buildPythonPackage rec {
pname = "XStatic-jQuery-File-Upload";
version = "9.7.0.1";
src = fetchPypi {
inherit version pname;
sha256 = "0d5za18lhzhb54baxq8z73wazq801n3qfj5vgcz7ri3ngx7nb0cg";
};
# no tests implemented
doCheck = false;
propagatedBuildInputs = [ xstatic-jquery ];
meta = with lib;{
homepage = http://plugins.jquery.com/project/jQuery-File-Upload;
description = "jquery-file-upload packaged static files for python";
license = licenses.mit;
maintainers = with maintainers; [ makefu ];
};
}

View File

@ -20475,22 +20475,7 @@ EOF
xstatic-jquery = callPackage ../development/python-modules/xstatic-jquery {};
xstatic-jquery-file-upload = buildPythonPackage rec {
name = "XStatic-jQuery-File-Upload-${version}";
version = "9.7.0.1";
propagatedBuildInputs = with self;[ xstatic-jquery ];
src = pkgs.fetchurl {
url = "mirror://pypi/X/XStatic-jQuery-File-Upload/XStatic-jQuery-File-Upload-${version}.tar.gz";
sha256 = "0d5za18lhzhb54baxq8z73wazq801n3qfj5vgcz7ri3ngx7nb0cg";
};
meta = {
homepage = http://plugins.jquery.com/project/jQuery-File-Upload;
description = "jquery-file-upload packaged static files for python";
license = licenses.mit;
maintainers = [ maintainers.makefu ];
};
};
xstatic-jquery-file-upload = callPackage ../development/python-modules/xstatic-jquery-file-upload {};
xstatic-jquery-ui = buildPythonPackage rec {
name = "XStatic-jquery-ui-${version}";