My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/django-sites/default.nix

41 lines
698 B

{ lib
, buildPythonPackage
, fetchFromGitHub
, django
, django-jinja
, python
}:
buildPythonPackage rec {
pname = "django-sites";
version = "0.11";
src = fetchFromGitHub {
owner = "niwinz";
repo = "django-sites";
rev = version;
sha256 = "sha256-MQtQC+9DyS1ICXXovbqPpkKIQ5wpuJDgq3Lcd/1kORU=";
};
propagatedBuildInputs = [
django
];
checkInputs = [
django-jinja
];
checkPhase = ''
runHook preCheck
${python.interpreter} runtests.py
runHook postCheck
'';
meta = {
description = "Alternative implementation of django sites framework";
homepage = "https://github.com/niwinz/django-sites";
license = lib.licenses.bsd3;
};
}