pythonPackages.grappelli_safe: refactor move to pyhton-modules

This commit is contained in:
Chris Ostrouchov 2018-10-16 15:40:14 -04:00 committed by Frederik Rietdijk
parent d968906517
commit d23381f713
2 changed files with 35 additions and 27 deletions

View File

@ -0,0 +1,34 @@
{ stdenv
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
version = "0.3.13";
pname = "grappelli_safe";
src = fetchPypi {
inherit pname version;
sha256 = "8b21b4724bce449cc4f22dc74ed0be9b3e841d968f3271850bf4836864304eb6";
};
meta = with stdenv.lib; {
description = "A snapshot of django-grappelli for the Mezzanine CMS";
longDescription = ''
grappelli_safe was created to provide a snapshot of the
Grappelli admin skin for Django, to be referenced as a
dependency for the Mezzanine CMS for Django.
At the time of grappelli_safe's creation, Grappelli was
incorrectly packaged on PyPI, and had also dropped compatibility
with Django 1.1 - grappelli_safe was therefore created to
address these specific issues.
'';
homepage = https://github.com/stephenmcd/grappelli-safe;
downloadPage = http://pypi.python.org/pypi/grappelli_safe/;
license = licenses.free;
maintainers = with maintainers; [ prikhi ];
platforms = platforms.linux;
};
}

View File

@ -2248,33 +2248,7 @@ in {
graph-tool = callPackage ../development/python-modules/graph-tool/2.x.x.nix { };
grappelli_safe = buildPythonPackage rec {
version = "0.3.13";
name = "grappelli_safe-${version}";
src = pkgs.fetchurl {
url = "mirror://pypi/g/grappelli_safe/${name}.tar.gz";
sha256 = "8b21b4724bce449cc4f22dc74ed0be9b3e841d968f3271850bf4836864304eb6";
};
meta = {
description = "A snapshot of django-grappelli for the Mezzanine CMS";
longDescription = ''
grappelli_safe was created to provide a snapshot of the Grappelli admin
skin for Django, to be referenced as a dependency for the Mezzanine CMS
for Django.
At the time of grappelli_safe's creation, Grappelli was incorrectly
packaged on PyPI, and had also dropped compatibility with Django 1.1 -
grappelli_safe was therefore created to address these specific issues.
'';
homepage = https://github.com/stephenmcd/grappelli-safe;
downloadPage = http://pypi.python.org/pypi/grappelli_safe/;
license = licenses.free;
maintainers = with maintainers; [ prikhi ];
platforms = platforms.linux;
};
};
grappelli_safe = callPackage ../development/python-modules/grappelli_safe { };
pytorch = let
# Fails with CUDA 9.1 and GCC 6.4: