From 6bcbf84fb188ce60d06510bfcb282e19fdad02d8 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 12 Jan 2022 03:28:48 +0100 Subject: [PATCH] git-crecord: 20161216.0 -> 20201025.0 And use python3. --- .../version-management/git-crecord/default.nix | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/version-management/git-crecord/default.nix b/pkgs/applications/version-management/git-crecord/default.nix index 006809db6226..682f0d97f6b4 100644 --- a/pkgs/applications/version-management/git-crecord/default.nix +++ b/pkgs/applications/version-management/git-crecord/default.nix @@ -1,17 +1,20 @@ -{ lib, fetchFromGitHub, python2Packages }: +{ lib, fetchFromGitHub, python3 }: -python2Packages.buildPythonApplication rec { +python3.pkgs.buildPythonApplication rec { pname = "git-crecord"; - version = "20161216.0"; + version = "20201025.0"; src = fetchFromGitHub { owner = "andrewshadura"; repo = "git-crecord"; rev = version; - sha256 = "0v3y90zi43myyi4k7q3892dcrbyi9dn2q6xgk12nw9db9zil269i"; + sha256 = "1rkdmy2d2vsx22fx97nd9afh0g5lq4pns7rdxyl711apq1bhiihn"; }; - propagatedBuildInputs = with python2Packages; [ docutils ]; + propagatedBuildInputs = with python3.pkgs; [ docutils ]; + + # has no tests + doCheck = false; meta = { homepage = "https://github.com/andrewshadura/git-crecord";