mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 23:54:01 +00:00
f5fa5fa4d6
* pkgs: refactor needless quoting of homepage meta attribute A lot of packages are needlessly quoting the homepage meta attribute (about 1400, 22%), this commit refactors all of those instances. * pkgs: Fixing some links that were wrongfully unquoted in the previous commit * Fixed some instances
22 lines
563 B
Nix
22 lines
563 B
Nix
{ stdenv, buildPythonPackage, fetchPypi, django }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "django-polymorphic";
|
|
version = "1.2";
|
|
name = "${pname}-${version}";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1bz86711sx2b66rl2xz141xppsfmlxilkgjgq0jsavpw37vg7r3r";
|
|
};
|
|
|
|
checkInputs = [ django ];
|
|
propagatedBuildInputs = [ django ];
|
|
|
|
meta = {
|
|
homepage = https://github.com/django-polymorphic/django-polymorphic;
|
|
description = "Improved Django model inheritance with automatic downcasting";
|
|
license = stdenv.lib.licenses.bsd3;
|
|
};
|
|
}
|