From 61c83b108d4141d57c242aa769caca9a55411ed0 Mon Sep 17 00:00:00 2001 From: Chris Ostrouchov Date: Wed, 10 Oct 2018 13:10:47 -0400 Subject: [PATCH] pythonPackages.escapism: 0.0.1 -> 1.0.0 move to python-modules --- .../python-modules/escapism/default.nix | 24 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 20 +--------------- 2 files changed, 25 insertions(+), 19 deletions(-) create mode 100644 pkgs/development/python-modules/escapism/default.nix diff --git a/pkgs/development/python-modules/escapism/default.nix b/pkgs/development/python-modules/escapism/default.nix new file mode 100644 index 000000000000..b2ac36582357 --- /dev/null +++ b/pkgs/development/python-modules/escapism/default.nix @@ -0,0 +1,24 @@ +{ pkgs +, buildPythonPackage +, fetchPypi +}: + +buildPythonPackage rec { + pname = "escapism"; + version = "1.0.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "5f1cc1fa04a95f5b85b3da194750f8a71846d493ea332f62e8798949f10c9b86"; + }; + + # No tests distributed + doCheck = false; + + meta = with pkgs.lib; { + description = "Simple, generic API for escaping strings"; + homepage = "https://github.com/minrk/escapism"; + license = licenses.mit; + maintainers = with maintainers; [ bzizou ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 6f7445c6d8bb..c89de5708256 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2223,25 +2223,7 @@ in { enzyme = callPackage ../development/python-modules/enzyme {}; - escapism = buildPythonPackage rec { - name = "escapism-${version}"; - version = "0.0.1"; - - src = pkgs.fetchurl { - url = "mirror://pypi/e/escapism/${name}.tar.gz"; - sha256 = "1yfyxwxb864xrmrrqgp85xgsh4yrrq5mmzvkdg19jwr7rm6sqx9p"; - }; - - # No tests distributed - doCheck = false; - - meta = { - description = "Simple, generic API for escaping strings"; - homepage = "https://github.com/minrk/escapism"; - license = licenses.mit; - maintainers = with maintainers; [ bzizou ]; - }; - }; + escapism = callPackage ../development/python-modules/escapism { }; etcd = buildPythonPackage rec { name = "etcd-${version}";