1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00
nixpkgs/maintainers/scripts
Eelco Dolstra 427b8cacf3 Add very hacky script to generate Perl packages
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";
    };
  };
2013-01-28 12:11:32 +01:00
..
gnu gnupdate: Really select `stdenv' packages when asked for it. 2011-12-13 16:11:02 +00:00
copy-tarball.sh Update the tarball mirroring scripts 2013-01-15 11:18:42 +01:00
copy-tarballs.sh Handle more bad characters 2013-01-15 18:15:33 +01:00
debian-patches.sh Fix XaraLX, add debian-patches.sh 2012-01-06 18:13:11 +00:00
dep-licenses.sh * Add a script to retrieve licenses of the current derivation and of all 2009-11-21 17:50:00 +00:00
eval-release.nix eval-release.nix: Handle exceptions properly 2013-01-14 23:28:58 +01:00
generate-cpan-package Add very hacky script to generate Perl packages 2013-01-28 12:11:32 +01:00
gnome-latest.sh gnome-latest.sh: don't use fetchurl_gnome 2012-01-06 00:54:52 +00:00
hydra_eval_check Remove support for the obsolete powerpc-darwin and i686-darwin platforms 2012-11-29 14:10:49 +01:00
map-files.pl * Download and unpack Visual C++ 2005 Express Edition. 2006-06-05 19:26:11 +00:00
nix-call-package Adding a script to use callPackage on a package not mentioned in the all-packages.nix 2010-12-15 07:21:21 +00:00
patchelf-hints.sh Fix hard-coded value to access gcc libraries. 2009-09-13 16:08:55 +00:00
rebuild-amount.sh Add a script to check the number of packages to rebuild after a modification. 2009-10-08 19:00:48 +00:00
sort-attrs.str * Don't sort the helper function sections. 2006-10-18 14:04:41 +00:00
test-eval-release.sh svn merge ^/nixpkgs/trunk 2012-02-06 23:08:11 +00:00