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: 63399aea740a
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 242282d92d3e
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Oct 24, 2018

  1. Copy the full SHA
    09ade5d View commit details

Commits on Nov 12, 2018

  1. Merge pull request #47887 from mmlb/python-dpath

    pythonPackages.dpath: init at 1.4.2
    samueldr authored Nov 12, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    242282d View commit details
Showing with 27 additions and 0 deletions.
  1. +25 −0 pkgs/development/python-modules/dpath/default.nix
  2. +2 −0 pkgs/top-level/python-packages.nix
25 changes: 25 additions & 0 deletions pkgs/development/python-modules/dpath/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{ stdenv, fetchPypi, buildPythonPackage
, mock, nose
}:

buildPythonPackage rec {
pname = "dpath";
version = "1.4.2";

src = fetchPypi {
inherit pname version;
sha256 = "0gr7816pnzbyh9h1ia0qz0q1f9zfzacwb8dc36js8hw8x14myqqg";
};

checkInputs = [ mock nose ];
checkPhase = ''
nosetests
'';

meta = with stdenv.lib; {
homepage = https://github.com/akesterson/dpath-python;
license = [ licenses.mit ];
description = "A python library for accessing and searching dictionaries via /slashed/paths ala xpath";
maintainers = [ maintainers.mmlb ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
@@ -1516,6 +1516,8 @@ in {

dopy = callPackage ../development/python-modules/dopy { };

dpath = callPackage ../development/python-modules/dpath { };

dpkt = callPackage ../development/python-modules/dpkt {};

urllib3 = callPackage ../development/python-modules/urllib3 {};