port to flakes

This commit is contained in:
Tim Schubert 2021-06-13 13:43:21 +02:00
parent deaa4fb75c
commit 2d9150098e
Signed by: dadada
GPG key ID: EEB8D1CE62C4DFEA
76 changed files with 721 additions and 315 deletions

View file

@ -1,6 +1,6 @@
{ lib
, buildPythonPackage
, fetchPypi
, fetchFromGitHub
, pytestCheckHook
, pythonPackages
, installShellFiles
@ -14,10 +14,11 @@ buildPythonPackage rec {
disabled = isPy36 || isPy27;
src = fetchPypi {
pname = pname;
version = version;
sha256 = "142w5zb2gf8s5z72bflpkmks633ic42z97nsgw491mskl6jg7cvq";
src = fetchFromGitHub {
owner = "tstehr";
repo = "recipemd";
rev = "v4.0.7";
sha256 = "sha256-P65CxTaROfvx9kNSJWa5CiCUHCurTMZx8uUH9W9uK1U=";
};
propagatedBuildInputs = with pythonPackages; [
@ -47,7 +48,7 @@ buildPythonPackage rec {
pythonPackages.pytestcov
];
doCheck = false;
doCheck = true;
meta = with lib; {
description = "Markdown recipe manager, reference implementation of RecipeMD";