File tree Expand file tree Collapse file tree 2 files changed +56
-0
lines changed
pkgs/by-name/mi/migrate-to-uv Expand file tree Collapse file tree 2 files changed +56
-0
lines changed Original file line number Diff line number Diff line change 1386213862 githubId = 1678126;
1386313863 name = "Marco A L Barbosa";
1386413864 };
13865+ malik = {
13866+ name = "Malik";
13867+ 13868+ github = "malikwirin";
13869+ githubId = 117918464;
13870+ keys = [ { fingerprint = "B5ED 595C 8C7E 133C 6B68 63C8 CFEF 1E35 0351 F72D"; } ];
13871+ };
1386513872 malo = {
13866138731386713874 github = "malob";
Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ python3 ,
4+ fetchFromGitHub ,
5+ cargo ,
6+ rustPlatform ,
7+ rustc ,
8+ versionCheckHook ,
9+ nix-update-script ,
10+ } :
11+
12+ python3 . pkgs . buildPythonApplication rec {
13+ pname = "migrate-to-uv" ;
14+ version = "0.2.1" ;
15+ pyproject = true ;
16+
17+ src = fetchFromGitHub {
18+ owner = "mkniewallner" ;
19+ repo = "migrate-to-uv" ;
20+ tag = version ;
21+ hash = "sha256-LA2tzTD3e6IPmeYHWKFD+PIsl6hsvfpYDKhN9upttHI=" ;
22+ } ;
23+
24+ cargoDeps = rustPlatform . fetchCargoVendor {
25+ inherit src pname version ;
26+ hash = "sha256-aiUCLRHCntJKZGCNdyfFCyRdIP+9Fr8yVzaDVct9Dv8=" ;
27+ } ;
28+
29+ build-system = [
30+ cargo
31+ rustPlatform . cargoSetupHook
32+ rustPlatform . maturinBuildHook
33+ rustc
34+ ] ;
35+
36+ nativeCheckInputs = [ versionCheckHook ] ;
37+ versionCheckProgramArg = "--version" ;
38+
39+ passthru . updateScript = nix-update-script { } ;
40+
41+ meta = {
42+ description = "Migrate a project from Poetry/Pipenv/pip-tools/pip to uv package manager" ;
43+ homepage = "https://mkniewallner.github.io/migrate-to-uv/" ;
44+ changelog = "https://github.com/mkniewallner/migrate-to-uv/blob/${ src . tag } /CHANGELOG.md" ;
45+ license = lib . licenses . mit ;
46+ maintainers = with lib . maintainers ; [ malik ] ;
47+ mainProgram = "migrate-to-uv" ;
48+ } ;
49+ }
You can’t perform that action at this time.
0 commit comments