nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

default.nix (733B)


      1 {
      2   lib,
      3   stdenv,
      4   fetchFromGitHub,
      5   python3Packages,
      6 }:
      7 
      8 python3Packages.buildPythonApplication {
      9   pname = "shellprof";
     10   version = "0-unstable-2021-04-27";
     11   format = "other";
     12 
     13   src = fetchFromGitHub {
     14     owner = "walles";
     15     repo = "shellprof";
     16     rev = "de6999bb37eb132cd18850acc28d988a994f4f86";
     17     hash = "sha256-SlvQJF2AEvVv4Wt0mwBJ8K5RlHvT8fV5av3w3RuYQ5Q=";
     18   };
     19 
     20   dontUseSetuptoolsBuild = true;
     21   dontUseSetuptoolsCheck = true;
     22 
     23   installPhase = ''
     24     install -Dm755 shellprof -t $out/bin
     25   '';
     26 
     27   meta = {
     28     description = "Profile a shell script based on its printouts";
     29     homepage = "https://github.com/walles/shellprof";
     30     license = lib.licenses.mit;
     31     maintainers = [ lib.maintainers.sikmir ];
     32   };
     33 }