Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libNixName: map tensorflow to libtensorflow #363

Merged
merged 1 commit into from
Jul 22, 2018

Conversation

basvandijk
Copy link
Member

This patch produces the following correct derivation. This now works because nixpkgs recently gained the libtensorflow attribute.

$ dist/build/cabal2nix/cabal2nix cabal://tensorflow
{ mkDerivation, async, attoparsec, base, bytestring, c2hs
, containers, data-default, exceptions, fgl, HUnit, lens-family
, libtensorflow, mainland-pretty, mtl, proto-lens
, proto-lens-protoc, semigroups, split, stdenv, temporary
, tensorflow-proto, test-framework, test-framework-hunit
, test-framework-quickcheck2, text, transformers, vector
}:
mkDerivation {
  pname = "tensorflow";
  version = "0.1.0.2";
  sha256 = "13b08d98cea0bde47b2e2ed9bc51937add0708eb50ef06e504100a447be92d50";
  libraryHaskellDepends = [
    async attoparsec base bytestring containers data-default exceptions
    fgl lens-family mainland-pretty mtl proto-lens proto-lens-protoc
    semigroups split temporary tensorflow-proto text transformers
    vector
  ];
  librarySystemDepends = [ libtensorflow ];
  libraryToolDepends = [ c2hs ];
  testHaskellDepends = [
    attoparsec base bytestring HUnit lens-family proto-lens
    tensorflow-proto test-framework test-framework-hunit
    test-framework-quickcheck2
  ];
  homepage = "https://github.com/tensorflow/haskell#readme";
  description = "TensorFlow bindings";
  license = stdenv.lib.licenses.asl20;
}

@peti peti merged commit 0e482ab into NixOS:master Jul 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants