Skip to content

Instantly share code, notes, and snippets.

@Dema
Created November 21, 2019 11:06
Show Gist options
  • Save Dema/3ec2c9bb2f03ec7e4b79f6f31bd7c24c to your computer and use it in GitHub Desktop.
Save Dema/3ec2c9bb2f03ec7e4b79f6f31bd7c24c to your computer and use it in GitHub Desktop.
{
"/nix/store/hynacjy0ps0qnz7bycsvnyiimv3q0i6h-netgen.drv": {
"outputs": {
"out": {
"path": "/nix/store/8qbgz0psv6zvfrn3kwgmjd8sb3b0jk90-netgen"
}
},
"inputSrcs": [
"/nix/store/9krlzvny65gdc8s7kpb6lkx8cd02c25b-default-builder.sh"
],
"inputDrvs": {
"/nix/store/g06lcsnffbn2pqr9jlyrd3jr05ysvzqp-stdenv-linux.drv": [
"out"
],
"/nix/store/j9ygjgg617c39la9dlh4h3f7h3lq0ra0-netgen-5.3.1.tar.gz.drv": [
"out"
],
"/nix/store/nn8gylhzg8ba3i1i94kdlirayj7jqfhm-bash-4.4-p23.drv": [
"out"
]
},
"platform": "x86_64-linux",
"builder": "/nix/store/wd1jazzawjk4w1d31ism7fm7vdg4ma9l-bash-4.4-p23/bin/bash",
"args": [
"-e",
"/nix/store/9krlzvny65gdc8s7kpb6lkx8cd02c25b-default-builder.sh"
],
"env": {
"buildInputs": "",
"builder": "/nix/store/wd1jazzawjk4w1d31ism7fm7vdg4ma9l-bash-4.4-p23/bin/bash",
"configureFlags": "",
"depsBuildBuild": "",
"depsBuildBuildPropagated": "",
"depsBuildTarget": "",
"depsBuildTargetPropagated": "",
"depsHostHost": "",
"depsHostHostPropagated": "",
"depsTargetTarget": "",
"depsTargetTargetPropagated": "",
"doCheck": "",
"doInstallCheck": "",
"name": "netgen",
"nativeBuildInputs": "",
"out": "/nix/store/8qbgz0psv6zvfrn3kwgmjd8sb3b0jk90-netgen",
"outputs": "out",
"patches": "",
"pname": "netgen-mesher",
"propagatedBuildInputs": "",
"propagatedNativeBuildInputs": "",
"src": "/nix/store/8bgz6x9h210703hjsl6p28qsh65qzbg7-netgen-5.3.1.tar.gz",
"stdenv": "/nix/store/fiaj00zrmb7dynd2q9xmcrh5rn0mjwj0-stdenv-linux",
"strictDeps": "",
"system": "x86_64-linux",
"version": "5.3.1"
}
}
}
{stdenv, fetchurl}:
stdenv.mkDerivation rec {
pname = "netgen-mesher";
name = "netgen";
version="5.3.1";
src = fetchurl {
url = "mirror://sourceforge/${pname}/${name}-${version}.tar.gz";
sha256 = "4d114861d5ef2063afd06ef38885ec46822e90e7b4ea38c864f76493451f9cf3";
};
# installPhase = ''
# mkdir -p $out/bin
# cp tetgen $out/bin
# '';
meta = {
description = "An automatic 3d tetrahedral mesh generator";
homepage = https://sourceforge.net/projects/netgen-mesher/;
license = stdenv.lib.licenses.lgpl21;
platforms = stdenv.lib.platforms.linux;
};
}
tar tf /nix/store/8bgz6x9h210703hjsl6p28qsh65qzbg7-netgen-5.3.1.tar.gz ~/nixos/nixpkgs
tetgen1.5.0/
tetgen1.5.0/tetgen.cxx
tetgen1.5.0/tetgen.h
tetgen1.5.0/predicates.cxx
tetgen1.5.0/CMakeLists.txt
tetgen1.5.0/makefile
tetgen1.5.0/README
tetgen1.5.0/LICENSE
tetgen1.5.0/example.poly
=========
tar tf ~/Desktop/netgen-5.3.1.tar.gz | head -5 ~/nixos/nixpkgs
netgen-5.3.1/
netgen-5.3.1/configure.ac
netgen-5.3.1/ng/
netgen-5.3.1/ng/demoview.cpp
netgen-5.3.1/ng/parameters.tcl
{
"/nix/store/smshb6cknl0zb01f9sfi71fpdspk3dx6-netgen-5.3.1.tar.gz.drv": {
"outputs": {
"out": {
"path": "/nix/store/8bgz6x9h210703hjsl6p28qsh65qzbg7-netgen-5.3.1.tar.gz",
"hashAlgo": "sha256",
"hash": "4d114861d5ef2063afd06ef38885ec46822e90e7b4ea38c864f76493451f9cf3"
}
},
"inputSrcs": [
"/nix/store/4snpxiw4s2f0nqn6vl9d7p1jqbiar6iy-builder.sh"
],
"inputDrvs": {
"/nix/store/bw349l6ymm2h8yllx0055isadr94m4wk-mirrors-list.drv": [
"out"
],
"/nix/store/nn8gylhzg8ba3i1i94kdlirayj7jqfhm-bash-4.4-p23.drv": [
"out"
],
"/nix/store/q6iypsqpsv8pxlni4m9fq1avrz05g4bf-curl-7.66.0.drv": [
"dev"
],
"/nix/store/xmqr2r0wxy7i2135i6wrg7s2wd8qjqkc-stdenv-linux.drv": [
"out"
]
},
"platform": "x86_64-linux",
"builder": "/nix/store/wd1jazzawjk4w1d31ism7fm7vdg4ma9l-bash-4.4-p23/bin/bash",
"args": [
"-e",
"/nix/store/4snpxiw4s2f0nqn6vl9d7p1jqbiar6iy-builder.sh"
],
"env": {
"buildInputs": "",
"builder": "/nix/store/wd1jazzawjk4w1d31ism7fm7vdg4ma9l-bash-4.4-p23/bin/bash",
"configureFlags": "",
"curlOpts": "",
"depsBuildBuild": "",
"depsBuildBuildPropagated": "",
"depsBuildTarget": "",
"depsBuildTargetPropagated": "",
"depsHostHost": "",
"depsHostHostPropagated": "",
"depsTargetTarget": "",
"depsTargetTargetPropagated": "",
"doCheck": "",
"doInstallCheck": "",
"downloadToTemp": "",
"executable": "",
"impureEnvVars": "http_proxy https_proxy ftp_proxy all_proxy no_proxy NIX_CURL_FLAGS NIX_HASHED_MIRRORS NIX_CONNECT_TIMEOUT NIX_MIRRORS_alsa NIX_MIRRORS_apache NIX_MIRRORS_bioc NIX_MIRRORS_bitlbee NIX_MIRRORS_centos NIX_MIRRORS_cpan NIX_MIRRORS_debian NIX_MIRRORS_fedora NIX_MIRRORS_gcc NIX_MIRRORS_gentoo NIX_MIRRORS_gnome NIX_MIRRORS_gnu NIX_MIRRORS_gnupg NIX_MIRRORS_hackage NIX_MIRRORS_hashedMirrors NIX_MIRRORS_imagemagick NIX_MIRRORS_kde NIX_MIRRORS_kernel NIX_MIRRORS_luarocks NIX_MIRRORS_maven NIX_MIRRORS_metalab NIX_MIRRORS_mozilla NIX_MIRRORS_mysql NIX_MIRRORS_oldsuse NIX_MIRRORS_openbsd NIX_MIRRORS_opensuse NIX_MIRRORS_osdn NIX_MIRRORS_postgresql NIX_MIRRORS_pypi NIX_MIRRORS_roy NIX_MIRRORS_sageupstream NIX_MIRRORS_samba NIX_MIRRORS_savannah NIX_MIRRORS_sourceforge NIX_MIRRORS_steamrt NIX_MIRRORS_ubuntu NIX_MIRRORS_xfce NIX_MIRRORS_xorg",
"mirrorsFile": "/nix/store/mw5a5mf54c5mcgzw5zhhpx2ixy6zp9r1-mirrors-list",
"name": "netgen-5.3.1.tar.gz",
"nativeBuildInputs": "/nix/store/bv8wjil273x13aavx0ackkq6d6lya6cn-curl-7.66.0-dev",
"nixpkgsVersion": "20.03",
"out": "/nix/store/8bgz6x9h210703hjsl6p28qsh65qzbg7-netgen-5.3.1.tar.gz",
"outputHash": "1www3x2r6r7pck43ismlwy82x0j6xj2qiwvfs2pn687gsmhlh4ad",
"outputHashAlgo": "sha256",
"outputHashMode": "flat",
"outputs": "out",
"patches": "",
"postFetch": "",
"preferHashedMirrors": "1",
"preferLocalBuild": "1",
"propagatedBuildInputs": "",
"propagatedNativeBuildInputs": "",
"showURLs": "",
"stdenv": "/nix/store/npsin1jlnzs5sqxpsv2mk5gbnm4hk4kr-stdenv-linux",
"strictDeps": "",
"system": "x86_64-linux",
"urls": "mirror://sourceforge/netgen-mesher/netgen-5.3.1.tar.gz"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment