nur-packages

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

default.nix (605B)


      1 { lib, stdenv, fetchFromSourcehut, qbe }:
      2 
      3 stdenv.mkDerivation rec {
      4   pname = "cproc";
      5   version = "2022-01-19";
      6 
      7   src = fetchFromSourcehut {
      8     owner = "~mcf";
      9     repo = pname;
     10     rev = "51e61fa5fa3de8cabc2191a5c6ac4d18aaaaf049";
     11     hash = "sha256-0qJyCm3NU7T/NPHqNyWdN+7DwVcl2OwJCBBeJ17H3rs=";
     12   };
     13 
     14   buildInputs = [ qbe ];
     15 
     16   doCheck = true;
     17 
     18   meta = with lib; {
     19     description = "C11 compiler using QBE as a backend";
     20     inherit (src.meta) homepage;
     21     license = licenses.isc;
     22     maintainers = [ maintainers.sikmir ];
     23     platforms = platforms.linux;
     24     skip.ci = stdenv.isDarwin;
     25   };
     26 }