From a8af7f16ce997ebee115d44c16847ab1ea0688a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= Date: Thu, 18 Dec 2014 08:14:52 +0100 Subject: [PATCH] attic: expression cleanup Clean up some whitespace errors and add namePrefix = "" to make package name like attribute name (no pythonX.Y- prefix). --- pkgs/tools/backup/attic/default.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/pkgs/tools/backup/attic/default.nix b/pkgs/tools/backup/attic/default.nix index 76d2e4653f73..3b0687fd7548 100644 --- a/pkgs/tools/backup/attic/default.nix +++ b/pkgs/tools/backup/attic/default.nix @@ -1,12 +1,13 @@ -{stdenv, fetchurl, python3Packages, openssl, acl }: +{ stdenv, fetchurl, python3Packages, openssl, acl }: python3Packages.buildPythonPackage rec { name = "attic-0.13"; + namePrefix = ""; src = fetchurl { - url = "https://github.com/jborg/attic/archive/0.13.tar.gz"; - sha256 = "da1c4c0759b541e72f6928341c863b406448351769113165d86d8393a5db98a3"; - }; + url = "https://github.com/jborg/attic/archive/0.13.tar.gz"; + sha256 = "da1c4c0759b541e72f6928341c863b406448351769113165d86d8393a5db98a3"; + }; buildInputs = with python3Packages; [ cython msgpack openssl acl ]; @@ -18,6 +19,6 @@ python3Packages.buildPythonPackage rec { meta = with stdenv.lib; { description = "A deduplication backup program"; homepage = "https://attic-backup.org"; - license = stdenv.lib.licenses.bsd3; - }; + license = licenses.bsd3; + }; }