mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
pythonPackages.django_colorful: refactor move to python-modules
This commit is contained in:
committed by
Frederik Rietdijk
parent
4906ff50a9
commit
90089d8786
28
pkgs/development/python-modules/django_colorful/default.nix
Normal file
28
pkgs/development/python-modules/django_colorful/default.nix
Normal file
@@ -0,0 +1,28 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, django
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-colorful";
|
||||
version = "1.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0y34hzvfrm1xbxrd8frybc9yzgqvz4c07frafipjikw7kfjsw8az";
|
||||
};
|
||||
|
||||
# Tests aren't run
|
||||
doCheck = false;
|
||||
|
||||
# Requires Django >= 1.8
|
||||
buildInputs = [ django ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Django extension that provides database and form color fields";
|
||||
homepage = https://github.com/charettes/django-colorful;
|
||||
license = licenses.mit;
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user