(define-module (gn past node) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix git-download) #:use-module (guix build-system node) #:use-module (gn packages node)) (define-public node-async-2 (package (inherit node-async) (name "node-async") (version "2.6.3") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/caolan/async") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 (base32 "0lxr8m00f7723p5qpg5b5wlqv5a0y9a301r6rmhy1cv64jnznpxk")))) (arguments '(#:tests? #f #:phases (modify-phases %standard-phases ;(replace 'build ; (lambda _ ; ;; make build ; (invoke "make" "build-bundle") ; )) (delete 'build)))) ; Runs tests by default during 'make all'. (inputs `( ;("node-lodash" ,node-lodash) ;("node-lodash-es" ,node-lodash-es) )) (native-inputs `( ;("node-babel-cli" ,node-babel-cli) ;("node-babel-core" ,node-babel-core) ;("node-babel-plugin-add-module-exports" ,node-babel-plugin-add-module-exports) ;("node-babel-plugin-instanbul" ,node-babel-plugin-instanbul) ;("node-babel-plugin-transform-es2015-modules-commonjs" ,babel-plugin-transform-es2015-modules-commonjs) ;("node-babel-preset-es2015" ,node-babel-preset-es2015) ;("node-babel-preset-es2017" ,node-babel-preset-es2017) ;("node-babelify" ,noce-babelify) ;("node-benchmark" ,node-benchmark) ;("node-bluebird" ,node-bluebird) ;("node-browserify" ,node-browserify) ;("node-chai" ,node-chai) ;("node-cheerio" ,noce-cheerio) ;("node-coveralls" ,node-coveralls) ;("node-es6-promise" ,node-es6-promise) ;("node-eslint" ,node-eslint) ;("node-fs-extra" ,node-fs-extra) ;("node-gh-pages-deploy" ,node-gh-pages-deploy) ;("node-jsdoc" ,node-jsdoc) ;("node-karma" ,node-karma) ;("node-karma-browserify" ,node-karma-browserify) ;("node-karma-firefox-launcher" ,node-karma-firefox-launcher) ;("node-karma-mocha" ,node-karma-mocha) ;("node-karma-mocha-reporter" ,node-karma-mocha-reporter) ;("node-mocha" ,node-mocha) ;("node-native-promises-only" ,node-native-promises-only) ;("node-nyc" ,node-nyc) ;("node-rimraf" ,node-rimraf) ;("node-rollup" ,node-rollup) ;("node-rollup-plugin-node-resolve" ,node-rollup-plugin-node-resolve) ;("node-rollup-plugin-npm" ,node-rollup-plugin-npm) ;("node-rsvp" ,node-rsvp) ;("node-semver" ,node-semver) ;("node-yargs" ,node-yargs) ;("uglify-js" ,uglify-js) )))) (define-public node-configurable-http-proxy-3 (package (inherit node-configurable-http-proxy) (name "node-configurable-http-proxy") (version "3.1.1") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/jupyterhub/configurable-http-proxy") (commit version))) (file-name (git-file-name name version)) (sha256 (base32 "0rzyppyzbgmmkxa5v17rpvlh27ygr0wi5cnn01ajdqn9cfc70j4f")))) (arguments '(#:tests? #f)) (inputs `(("node-commander" ,node-commander) ("node-http-proxy" ,node-http-proxy) ("node-lynx" ,node-lynx) ("node-strftime" ,node-strftime) ("node-winston" ,node-winston-2))) (native-inputs `( ;("node-jasmine" ,node-jasmine) ;("node-jshint" ,node-jshint) ;("node-nyc" ,node-nyc) ;("node-prettier" ,node-prettier) ;("node-request" ,node-request) ;("node-request-promise-native" ,node-request-promise-native) ;("node-ws" ,node-ws) )))) (define-public node-async-1 (package (inherit node-async) (name "node-async") (version "1.5.2") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/caolan/async") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 (base32 "17ai1ymw6i13zpls4hj267qmf7wwrdlf8zqvkip6q4kvrjmxhhgq")))) (arguments '(#:tests? #f #:phases (modify-phases %standard-phases (add-before 'configure 'remove-dev-dependencies (lambda _ (invoke "node" "-e" " var p=JSON.parse(require('fs').readFileSync('package.json')); delete p.devDependencies; if(p.dependencies)Object.keys(p.dependencies).forEach(function(k){try{require.resolve(k)}catch(e){delete p.dependencies[k]}}); require('fs').writeFileSync('package.json',JSON.stringify(p,null,2));"))) (replace 'build (lambda _ (invoke "make" "clean") (invoke "make" "build")))))) (native-inputs `( ;("node-benchmark" ,node-benchmark) ;("node-bluebird" ,node-bluebird) ;("node-chai" ,node-chai) ;("node-coveralls" ,node-coveralls) ;("node-es6-promise" ,node-es6-promise) ;("node-jscs" ,node-jscs) ;("node-jshint" ,node-jshint) ;("node-karma" ,node-karma) ;("node-karma-browserify" ,node-karma-browserify) ;("node-karma-firefox-launcher" ,node-karma-firefox-launcher) ;("node-karma-mocha" ,node-karma-mocha) ;("node-karma-mocha-reporter" ,node-karma-mocha-reporter) ;("node-lodash" ,node-lodash) ;("node-mkdirp" ,node-mkdirp) ;("node-mocha" ,node-mocha) ;("node-native-promises-only" ,node-native-promises-only) ;("node-nodeunit" ,node-nodeunit) ;("node-nyc" ,node-nyc) ;("node-rsvp" ,node-rsvp) ;("node-semver" ,node-semver) ("node-uglify-js" ,node-uglify-js) ;("node-xyz" ,node-xyz) ;("node-yargs" ,node-yargs) )))) (define-public node-winston-2 (package (inherit node-winston) (name "node-winston") (version "2.4.4") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/winstonjs/winston.git") (commit version))) (file-name (git-file-name name version)) (sha256 (base32 "0wiihp0n1pygjynlky4751wfn2x5d46f18diahgnaq1ryppvxjj1")))) (arguments '(#:tests? #f #:phases (modify-phases %standard-phases (add-before 'configure 'remove-dev-dependencies (lambda _ (invoke "node" "-e" " var p=JSON.parse(require('fs').readFileSync('package.json')); delete p.devDependencies; if(p.dependencies)Object.keys(p.dependencies).forEach(function(k){try{require.resolve(k)}catch(e){delete p.dependencies[k]}}); require('fs').writeFileSync('package.json',JSON.stringify(p,null,2));")))))) (inputs `(("node-async" ,node-async-1) ("node-colors" ,node-colors) ;("node-cycle" ,node-cycle) ;("node-eyes" ,node-eyes) ;("node-isstream" ,node-isstream) ("node-stack-trace" ,node-stack-trace))) (native-inputs `( ;("node-cross-spawn-async" ,node-cross-spawn-async) ;("node-hock" .node-hock) ;("node-std-mocks" ,node-mocks) ;("node-vows" ,node-vows) ))))