citadel

My dotfiles, scripts and nix configs
git clone git://jb55.com/citadel
Log | Files | Refs | README | LICENSE

default.nix (520B)


      1 { stdenv, lib, fetchFromGitHub }:
      2 stdenv.mkDerivation rec {
      3   pname = "extname";
      4   version = "1.1.1";
      5 
      6   src = fetchFromGitHub {
      7     rev = version;
      8     owner = "jb55";
      9     repo = "extname";
     10     sha256 = "10l0p6q1qlx8ihmpycf6p26kx2rcb1l7rp92smv05gmxb7fznw1q";
     11   };
     12 
     13   makeFlags = "PREFIX=$(out)";
     14 
     15   meta = with lib; {
     16     description = "Utility to get file extensions from its arguments";
     17     homepage = "https://github.com/jb55/extname";
     18     maintainers = with maintainers; [ jb55 ];
     19     license = licenses.mit;
     20   };
     21 }