From f029fc8cdc10dc8648761c3fa1aac128c55586f5 Mon Sep 17 00:00:00 2001 From: Taahir Ahmed Date: Mon, 17 Apr 2017 03:49:43 -0500 Subject: [PATCH] csscompressor: init at 0.9.4 (#24946) --- .../python-modules/csscompressor.nix | 20 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 22 insertions(+) create mode 100644 pkgs/development/python-modules/csscompressor.nix diff --git a/pkgs/development/python-modules/csscompressor.nix b/pkgs/development/python-modules/csscompressor.nix new file mode 100644 index 000000000000..a9aad8d40e5f --- /dev/null +++ b/pkgs/development/python-modules/csscompressor.nix @@ -0,0 +1,20 @@ +{ stdenv, buildPythonPackage, fetchPypi }: +buildPythonPackage rec { + pname = "csscompressor"; + version = "0.9.4"; + name = "${pname}-${version}"; + + src = fetchPypi { + inherit pname version; + sha256 = "0e12f125b88379d7b680636d94a3c8fa14bed1de2358f7f9a9e6749e222cff3b"; + }; + + doCheck = false; # No tests + + meta = { + description = "A python port of YUI CSS Compressor"; + homepage = https://pypi.python.org/pypi/csscompressor; + license = stdenv.lib.licenses.bsd3; + maintainers = [stdenv.lib.maintainers.ahmedtd]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 495c661aeba5..fc9e96cc5f69 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2524,6 +2524,8 @@ in { doCheck = false; # lazy packager }; + csscompressor = callPackage ../development/python-modules/csscompressor.nix {}; + csvkit = buildPythonPackage rec { name = "csvkit-${version}"; version = "0.9.1";