nur-packages

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

default.nix (578B)


      1 { lib, rustPlatform, fetchFromGitHub }:
      2 
      3 rustPlatform.buildRustPackage rec {
      4   pname = "ht";
      5   version = "0.6.0";
      6 
      7   src = fetchFromGitHub {
      8     owner = "ducaale";
      9     repo = pname;
     10     rev = "v${version}";
     11     hash = "sha256-0HrSQmSQ1B2xMQaaSmY8tKyzn7e5yP1oyLXojD4PdSA=";
     12   };
     13 
     14   cargoHash = "sha256-t7ShFSPeeHPkI8D1zinzYXmRxHd3nC4KMTNKuNg3EcA=";
     15 
     16   doCheck = false;
     17 
     18   meta = with lib; {
     19     description = "Yet another HTTPie clone";
     20     inherit (src.meta) homepage;
     21     license = licenses.mit;
     22     maintainers = [ maintainers.sikmir ];
     23     platforms = platforms.unix;
     24   };
     25 }