blob: 6f359d3bc9a7062bd98253fb47d01d3ed4d1cae2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, poetry
, rich
, setuptools
}:
buildPythonPackage rec {
version = "0.2.0";
pname = "pipenv-poetry-migrate";
format = "pyproject";
src = fetchFromGitHub {
owner = "yhino";
repo = "pipenv-poetry-migrate";
rev = "v${version}";
hash = "sha256-2/e6uGwpUvzxXlz+51gUriE054bgNeJNyLDCIyiGflM=";
};
propagatedBuildInputs = [
poetry
rich
setuptools
];
postPatch = ''
substituteInPlace pyproject.toml --replace 'rich = "^9.6.1"' 'rich = ">9"'
'';
checkInputs = [
pytestCheckHook
];
meta = with lib; {
description = "This is simple migration script, migrate pipenv to poetry";
homepage = "https://github.com/yhino/pipenv-poetry-migrate";
license = licenses.asl20;
maintainers = with maintainers; [ gador ];
};
}
|