File tree Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Original file line number Diff line number Diff line change 1- { pkgs ? import <nixpkgs> { } } :
1+ {
2+ lib ,
3+ fetchFromGitHub ,
4+ python3 ,
5+ rustPlatform ,
6+ } :
27
3- pkgs . python3Packages . buildPythonPackage rec {
8+ python3 . pkgs . buildPythonPackage rec {
49 pname = "ziplinter" ;
510 version = "0.1.0" ;
611 pyproject = true ;
712
8- src = pkgs . fetchFromGitHub {
13+ src = fetchFromGitHub {
914 owner = "trifectatechfoundation" ;
1015 repo = "ziplinter" ;
1116 rev = "698922aff67194f511da0586433504cdf43fe965" ;
1217 hash = "sha256-YL41HUoQfc9StAAHBR0Gt7r5NFQsh6LjfdFfiYRNB4s=" ;
1318 } ;
1419
15- cargoDeps = pkgs . rust . packages . stable . rustPlatform . fetchCargoVendor {
20+ cargoDeps = rustPlatform . fetchCargoVendor {
1621 inherit pname version src ;
1722 hash = "sha256-RjMp+9VfIalGcDGLdncYg/6KjIodR/9IMGQZw9/g2EM=" ;
1823 } ;
1924
2025 buildAndTestSubdir = "ziplinter-python" ;
2126
22- nativeBuildInputs = with pkgs . rust . packages . stable . rustPlatform ; [
27+ nativeBuildInputs = with rustPlatform ; [
2328 cargoSetupHook
2429 maturinBuildHook
2530 ] ;
2631
2732 meta = {
2833 description = "A zip file analyzer Python module" ;
2934 homepage = "https://github.com/trifectatechfoundation/ziplinter" ;
30- license = with pkgs . lib . licenses ; [
35+ license = with lib . licenses ; [
3136 asl20
3237 mit
3338 ] ;
34- maintainers = with pkgs . lib . maintainers ; [
39+ maintainers = with lib . maintainers ; [
3540 folkertdev
3641 michielp1807
3742 armijnhemel
3843 ] ;
39- platforms = pkgs . lib . platforms . all ;
44+ platforms = lib . platforms . all ;
4045 } ;
4146}
You can’t perform that action at this time.
0 commit comments