mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 16:11:58 +00:00
427b8cacf3
Given the name of Perl module, this script will download the package containing the module from CPAN, determine its dependencies, and print a Nix expression suitable for inclusion in perl-packages.nix on stdout. Example: $ ./maintainers/scripts/generate-cpan-package DBIx::Class DBIxClass = buildPerlPackage { name = "DBIx-Class-0.08205"; src = fetchurl { url = mirror://cpan/authors/id/F/FR/FREW/DBIx-Class-0.08205.tar.gz; sha256 = "16iyrfvwf4y94wxpwlla131grdf10z4xx9q9s6jsi39ycaxdaj6l"; }; buildInputs = [ DBDSQLite PackageStash TestException TestWarn ]; propagatedBuildInputs = [ ClassAccessorGrouped ClassC3Componentised ClassInspector ConfigAny ContextPreserve DataCompare DataDumperConcise DataPage DBI DevelGlobalDestruction HashMerge ModuleFind Moo MROCompat namespaceclean PathClass ScopeGuard SQLAbstract SubName TryTiny ]; meta = { homepage = http://www.dbix-class.org/; description = "Extensible and flexible object <-> relational mapper."; license = "perl"; }; }; |
||
---|---|---|
.. | ||
gnu | ||
copy-tarball.sh | ||
copy-tarballs.sh | ||
debian-patches.sh | ||
dep-licenses.sh | ||
eval-release.nix | ||
generate-cpan-package | ||
gnome-latest.sh | ||
hydra_eval_check | ||
map-files.pl | ||
nix-call-package | ||
patchelf-hints.sh | ||
rebuild-amount.sh | ||
sort-attrs.str | ||
test-eval-release.sh |