about summary refs log blame commit diff
path: root/users/Profpatsch/reverse-haskell-deps/default.nix
blob: 704b7f229b59fbe19c61765d2cccb5b0e6d90632 (plain) (tree)
1
2
3
4
5
6
7






                                                                         





                                                            




          


                                                             
                                         


                                       
 
     
                            

 

   
{ depot, pkgs, ... }:

# Parses https://packdeps.haskellers.com/reverse
# and outputs the amount of reverse dependencies of each hackage package.

let

  rev = depot.nix.writeExecline "reverse-haskell-deps" { } [
    "pipeline"
    [
      "${pkgs.curl}/bin/curl"
      "-L"
      "https://packdeps.haskellers.com/reverse"
    ]
    rev-hs

  ];

  rev-hs = pkgs.writers.writeHaskell "revers-haskell-deps-hs"
    {
      libraries = [
        depot.users.Profpatsch.my-prelude
        pkgs.haskellPackages.nicify-lib
        pkgs.haskellPackages.tagsoup
      ];

    }
    ./ReverseHaskellDeps.hs;


in
rev