nur-packages

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

default.nix (690B)


      1 {
      2   lib,
      3   stdenv,
      4   fetchFromGitHub,
      5 }:
      6 
      7 stdenv.mkDerivation (finalAttrs: {
      8   pname = "gps-sdr-sim";
      9   version = "0-unstable-2024-04-11";
     10 
     11   src = fetchFromGitHub {
     12     owner = "osqzss";
     13     repo = "gps-sdr-sim";
     14     rev = "dc65ee836a6bb8a0ba2b28ead26d1085d415e0c9";
     15     hash = "sha256-EA+UG591hayT85GiGvloQiJM+ptGqdOTJJpVwQYCpKs=";
     16   };
     17 
     18   makeFlags = [ "CC:=$(CC)" ];
     19 
     20   installPhase = ''
     21     install -Dm755 gps-sdr-sim -t $out/bin
     22   '';
     23 
     24   meta = {
     25     description = "Software-Defined GPS Signal Simulator";
     26     homepage = "https://github.com/osqzss/gps-sdr-sim";
     27     license = lib.licenses.mit;
     28     maintainers = [ lib.maintainers.sikmir ];
     29     platforms = lib.platforms.unix;
     30   };
     31 })