diff options
author | Ethan Edwards <ethan@ethancedwards.com> | 2021-06-12 00:42:20 -0400 |
---|---|---|
committer | Ethan Edwards <ethan@ethancedwards.com> | 2021-06-12 00:42:20 -0400 |
commit | 74c602f2115904a9d3facfe6d84beda4926e7f30 (patch) | |
tree | 1369452457753bbc0c633481525ea8763254bdb6 /pkgs/development/scheme-modules | |
parent | 2c8871a7dbc9db0753fdea004ef264ed249d9791 (diff) | |
download | nixpkgs-74c602f2115904a9d3facfe6d84beda4926e7f30.tar nixpkgs-74c602f2115904a9d3facfe6d84beda4926e7f30.tar.gz nixpkgs-74c602f2115904a9d3facfe6d84beda4926e7f30.tar.bz2 nixpkgs-74c602f2115904a9d3facfe6d84beda4926e7f30.tar.lz nixpkgs-74c602f2115904a9d3facfe6d84beda4926e7f30.tar.xz nixpkgs-74c602f2115904a9d3facfe6d84beda4926e7f30.tar.zst nixpkgs-74c602f2115904a9d3facfe6d84beda4926e7f30.zip |
scheme-bytestructures: init at 1.0.7
Diffstat (limited to 'pkgs/development/scheme-modules')
-rw-r--r-- | pkgs/development/scheme-modules/scheme-bytestructures/default.nix | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/pkgs/development/scheme-modules/scheme-bytestructures/default.nix b/pkgs/development/scheme-modules/scheme-bytestructures/default.nix new file mode 100644 index 00000000000..3f1fd2b68a3 --- /dev/null +++ b/pkgs/development/scheme-modules/scheme-bytestructures/default.nix @@ -0,0 +1,39 @@ +{ lib +, stdenv +, fetchFromGitHub +, guile +, autoreconfHook +, pkg-config +}: + +stdenv.mkDerivation rec { + pname = "scheme-bytestructures"; + version = "1.0.7"; + + src = fetchFromGitHub { + owner = "TaylanUB"; + repo = pname; + rev = "v${version}"; + sha256 = "0q0habjiy3h9cigb7q1br9kz6z212dn2ab31f6dgd3rrmsfn5rvb"; + }; + + postConfigure = '' + sed -i '/moddir\s*=/s%=.*%=''${out}/share/guile/site%' Makefile; + sed -i '/godir\s*=/s%=.*%=''${out}/share/guile/ccache%' Makefile; + ''; + + nativeBuildInputs = [ + autoreconfHook pkg-config + ]; + buildInputs = [ + guile + ]; + + meta = with lib; { + description = "Structured access to bytevector contents"; + homepage = "https://github.com/TaylanUB/scheme-bytestructures"; + license = licenses.gpl3; + maintainers = with maintainers; [ ethancedwards8 ]; + platforms = platforms.linux; + }; +} |