From e4b94fa60f72a4e55c966f1566b5a828e7ccc5ca Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Wed, 6 Sep 2017 18:42:51 +0200 Subject: [PATCH] python.pkgs.pathspec: 0.5.2 -> 0.5.3 --- .../python-modules/pathspec/default.nix | 22 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 18 +-------------- 2 files changed, 23 insertions(+), 17 deletions(-) create mode 100644 pkgs/development/python-modules/pathspec/default.nix diff --git a/pkgs/development/python-modules/pathspec/default.nix b/pkgs/development/python-modules/pathspec/default.nix new file mode 100644 index 000000000000..f39957585210 --- /dev/null +++ b/pkgs/development/python-modules/pathspec/default.nix @@ -0,0 +1,22 @@ +{ lib +, buildPythonPackage +, fetchPypi +}: + +buildPythonPackage rec { + pname = "pathspec"; + version = "0.5.3"; + name = "${pname}-${version}"; + + src = fetchPypi { + inherit pname version; + sha256 = "54478a66a360f4ebe4499c9235e4206fca5dec837b8e272d1ce37e0a626cc64d"; + }; + + meta = { + description = "Utility library for gitignore-style pattern matching of file paths"; + homepage = "https://github.com/cpburnz/python-path-specification"; + license = lib.licenses.mpl20; + maintainers = with lib.maintainers; [ copumpkin ]; + }; +} \ No newline at end of file diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 5c44b423e93f..4d029cbf7add 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -7136,23 +7136,7 @@ in { }; }; - pathspec = buildPythonPackage rec { - pname = "pathspec"; - version = "0.5.2"; - name = "${pname}-${version}"; - - src = self.fetchPypi { - inherit pname version; - sha256 = "f9fdf4408f4adb30e9f507f61d3a41c968e9c6e6c519d4bbd2a189627b5e86f0"; - }; - - meta = { - description = "Utility library for gitignore-style pattern matching of file paths"; - homepage = "https://github.com/cpburnz/python-path-specification"; - license = licenses.mpl20; - maintainers = with maintainers; [ copumpkin ]; - }; - }; + pathspec = callPackage ../development/python-modules/pathspec { }; pathtools = buildPythonPackage rec { name = "pathtools-${version}";