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: a48d58ff7378
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2e02bcaedcba
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Mar 25, 2018

  1. toml: init at 0.9.4

    Twey authored and matthewbauer committed Mar 25, 2018

    Verified

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

buildPythonPackage rec {
pname = "toml";
version = "0.9.4";

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

# This package has a test script (built for Travis) that involves a)
# looking in the home directory for a binary test runner and b) using
# git to download a test suite.
doCheck = false;

meta = with stdenv.lib; {
description = "a Python library for parsing and creating TOML";
homepage = "https://github.com/uiri/toml";
license = licenses.mit;
maintainers = with maintainers; [ twey ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
@@ -424,6 +424,8 @@ in {

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

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

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

pyunbound = callPackage ../tools/networking/unbound/python.nix { };