Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 7ab38e48ebd7
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1d37178f94d6
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Jul 10, 2019

  1. Copy the full SHA
    1914911 View commit details

Commits on Aug 13, 2019

  1. Merge pull request #64579 from MrMebelMan/init/django-logentry-admin

    pythonPackages.django-logentry-admin: init at 1.0.4
    mmahut authored Aug 13, 2019
    Copy the full SHA
    1d37178 View commit details
Showing with 31 additions and 0 deletions.
  1. +29 −0 pkgs/development/python-modules/django-logentry-admin/default.nix
  2. +2 −0 pkgs/top-level/python-packages.nix
29 changes: 29 additions & 0 deletions pkgs/development/python-modules/django-logentry-admin/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{ stdenv, fetchFromGitHub, buildPythonPackage, django, pytest, pytest-django }:

buildPythonPackage rec {
pname = "django-logentry-admin";
version = "1.0.4";

src = fetchFromGitHub {
owner = "yprez";
repo = pname;
rev = "v${version}";
sha256 = "1ji04qklzhjb7fx6644vzikjb2196rxyi8hrwf2knsz41ndvq1l9";
};

checkInputs = [ pytest pytest-django ];
checkPhase = ''
rm -r logentry_admin __init__.py
pytest
'';

propagatedBuildInputs = [ django ];

meta = with stdenv.lib; {
description = "Show all LogEntry objects in the Django admin site";
homepage = "https://github.com/yprez/django-logentry-admin";
license = licenses.isc;
maintainers = with maintainers; [ mrmebelman ];
};
}

2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
@@ -2820,6 +2820,8 @@ in {

django-jinja = callPackage ../development/python-modules/django-jinja2 { };

django-logentry-admin = callPackage ../development/python-modules/django-logentry-admin { };

django-pglocks = callPackage ../development/python-modules/django-pglocks { };

django-picklefield = callPackage ../development/python-modules/django-picklefield { };