mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
29 lines
685 B
Nix
29 lines
685 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "toml";
|
|
version = "0.10.2";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f";
|
|
};
|
|
|
|
# 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 lib; {
|
|
description = "Python library for parsing and creating TOML";
|
|
homepage = "https://github.com/uiri/toml";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ twey ];
|
|
};
|
|
}
|