From 146f8af47cfb5b77b6a8e8e04776e658e000e8ae Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Mon, 1 May 2017 21:38:18 +0200 Subject: [PATCH 1/2] beautifulsoup4: 4.5.1 -> 4.5.3 --- pkgs/top-level/python-packages.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 4ab8879d1c8..6599218beaf 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2175,11 +2175,11 @@ in { }); beautifulsoup4 = buildPythonPackage (rec { - name = "beautifulsoup4-4.5.1"; + name = "beautifulsoup4-4.5.3"; src = pkgs.fetchurl { url = "mirror://pypi/b/beautifulsoup4/${name}.tar.gz"; - sha256 = "1qgmhw65ncsgccjhslgkkszif47q6gvxwqv4mim17agxd81p951w"; + sha256 = "0glaw1vyxnbp03fni7h5496n6iib0n5iim4gax1n0ngscs9s075j"; }; buildInputs = [ self.nose ]; From 66c21e72e025ed6bb31104c5067cb355eb6edc9b Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Mon, 1 May 2017 21:38:35 +0200 Subject: [PATCH 2/2] toot: init at 0.8.0 --- pkgs/applications/misc/toot/default.nix | 25 +++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/applications/misc/toot/default.nix diff --git a/pkgs/applications/misc/toot/default.nix b/pkgs/applications/misc/toot/default.nix new file mode 100644 index 00000000000..5a3be423cd2 --- /dev/null +++ b/pkgs/applications/misc/toot/default.nix @@ -0,0 +1,25 @@ +{ stdenv, fetchFromGitHub, pythonPackages }: + +pythonPackages.buildPythonApplication rec { + version = "0.8.0"; + name = "toot-${version}"; + + src = fetchFromGitHub { + owner = "ihabunek"; + repo = "toot"; + rev = "${version}"; + sha256 = "1y1jz4f53njq94zab0icf7jhd4jp10ywm508l4lw6spb69wr7rdy"; + }; + + propagatedBuildInputs = with pythonPackages; + [ requests2 beautifulsoup4 future ]; + + meta = with stdenv.lib; { + description = "Mastodon CLI interface"; + homepage = "https://github.com/ihabunek/toot"; + license = licenses.mit; + maintainers = [ maintainers.matthiasbeyer ]; + }; + +} + diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 582fdc35d35..3a5ce795fb7 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -15905,6 +15905,8 @@ with pkgs; tortoisehg = callPackage ../applications/version-management/tortoisehg { }; + toot = callPackage ../applications/misc/toot { }; + toxic = callPackage ../applications/networking/instant-messengers/toxic { }; transcode = callPackage ../applications/audio/transcode { };